# Port

In computer networking, a port is a logical connection point that is used to identify a specific process or application running on a computer or network device. It is identified by a number that is associated with a protocol, such as Transmission Control Protocol (TCP) or User Datagram Protocol (UDP).

Each device has a number of ports that can be used to send and receive data. When a process or application needs to communicate over the network, it binds to a specific port and waits for incoming connections or sends data to another device's port.

There are well-known ports that are assigned to specific services or applications, such as port 80 for HTTP web traffic or port 25 for Simple Mail Transfer Protocol (SMTP). In addition to these well-known ports, there are also dynamic or private ports that are available for use by applications or services.

Port numbers are 16-bit unsigned integers, which means they can have values between 0 and 65,535. However, some port numbers are reserved for specific purposes, such as ports 0 to 1023 being reserved for well-known services, and ports 49152 to 65535 being reserved for dynamic or private use.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/glossary/p/port.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
