设为首页收藏本站language 语言切换
查看: 1898|回复: 3
收起左侧

[原创] PC上的端口号

[复制链接]
发表于 2022-6-22 09:29:52 | 显示全部楼层 |阅读模式
PC上的端口号
在[color=blue !important]网络技术中,端口包括逻辑端口和物理端口两种类型。
  • 物理端口:是用于连接物理设备之间的接口,如[color=blue !important]ADSL Modem、[color=blue !important]集线器、[color=blue !important]交换机、[color=blue !important]路由器上用于连接其他网络设备的接口,如[color=blue !important]RJ-45端口、SC端口等等 [2] 。
  • 逻辑端口:是指逻辑意义上用于区分服务的端口,比如用于浏览网页服务的80端口,用于FTP服务的21端口等。如[color=blue !important]TCP/IP协议中的服务端口,通过不同的逻辑端口来区分不同的服务。一个IP地址的端口通过16bit进行编号,范围是从0 到65535;

    • well-known ports: 0 to 1023 (0 to 210 − 1);
      used by system processes that provide widely used types of network services. On [color=blue !important]Unix-like operating systems, a process must execute with [color=blue !important]superuser privileges to be able to bind a [color=blue !important]network socket to an [color=blue !important]IP address using one of the well-known ports;
    • Registered ports: 1024 to 49151;
      They are assigned by [color=blue !important]IANA for specific service upon application by a requesting entity.[ On most systems, registered ports can be used without superuser privileges.
    • Dynamic, private or ephemeral ports: 49152 to 65535;
      used for private or customized services, for temporary purposes, and for automatic allocation of [color=blue !important]ephemeral ports.



发表于 2022-7-5 14:26:14 | 显示全部楼层
呵呵哈哈哈
地板 2022-7-5 14:26:14 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-26 18:43 , Processed in 0.207354 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表