TCP/UDP port number
ID port_number
DatatypeNot PIIcategoricalDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
16-bit number from 0 to 65535 that identifies an endpoint of a transport protocol such as TCP, UDP or SCTP on a host, for example 80 for HTTP or 443 for HTTPS. RFC 6335 divides the range into system ports 0-1023 and user ports 1024-49151, which IANA assigns to services, and dynamic ports 49152-65535, which are never assigned and serve short-lived client connections. Firewall rules, network flow logs and service inventories store it. Any integer in the range matches the regexp, so the column name is needed to tell a port from another number.
- Categories
- Internet
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Wikidata
- P1641
- Quality
- 90/100 · missing: detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^(?:6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}|0)$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 80 | HTTP |
| 443 | HTTPS |
| 5432 | PostgreSQL |
| 49152 | First dynamic port |
| 65536 invalid | Larger than 16 bits |
| -1 invalid | Negative number |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Номер порта TCP/UDP | 16-битный номер порта транспортного протокола (0–65535), например 80 для HTTP или 443 для HTTPS. |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Port_(computer_networking)
- wikidata: https://www.wikidata.org/wiki/Property:P1641
- doc: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
- doc: https://www.rfc-editor.org/rfc/rfc6335
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/port_number - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/internet/port_number.yamlon GitHub