首页 > Web开发 > 详细

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

时间:2015-05-01 22:33:35      阅读:387      评论:0      收藏:0      [点我收藏+]

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
 

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

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

原文:http://www.cnblogs.com/cy163/p/4471266.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!