What is Administered port exclusions in windows 10?

耗尽温柔 提交于 2019-12-24 12:34:52

问题


I have hyper-v enabled in windows 10. When I check the excluded ports, I get:

C:\> netsh interface ipv4 show excludedportrange protocol=tcp

Protocol tcp Port Exclusion Ranges

Start Port    End Port
----------    --------
      5357        5357
      9800        9800
      9801        9801
     49671       49770
     49871       49970
     50000       50059     *
     61117       61216
     61220       61319
     61902       62001

* - Administered port exclusions.

Why Hyper-V reserves these ports?

How Administered port exclusions ( ie, range 50000-50059 ) differ from other port exclusions?

For example, when i tried to ping to all these ports using a net.Listen() in golang, all ports except 50000-50059 returns error:

listen tcp 127.0.0.1:9801: bind: An attempt was made to access a socket in a way forbidden by its access permissions. 

来源:https://stackoverflow.com/questions/58216537/what-is-administered-port-exclusions-in-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!