您的位置:首页 > 理论基础 > 计算机网络

What is the largest TCP/IP network port number allowable for IPv4

2015-05-01 22:10 561 查看
69 down vote
The largest port number is an unsigned short 2^16-1: 65535

A registered port is one assigned by the Internet Corporation for Assigned Names and Numbers (ICANN) to a certain use. Each registered port is in the range 1024–49151.

Since 21 March 2001 the registry agency is ICANN; before that time it was IANA.

Ports with numbers lower than those of the registered ports are called well known ports; port with numbers greater than those of the registered ports are called dynamic and/or private ports.

Source

shareimprove this answer
answered Sep 22 '08 at 4:53



Brian R. Bondy

160k68411534

add a comment

up vote
34
down vote

As I understand it, you should only use up to 49151, as from 49152 up to 65535 are reserved for Ephemeral ports

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐