Reserve a TCP port in Windows

后端 未结 5 1715
小鲜肉
小鲜肉 2021-02-01 23:14

I\'d like to reserve a TCP port, to be bound by a service later, so that Windows doesn\'t inadvertently use the same number when assigning random port numbers. I know this is po

5条回答
  •  醉话见心
    2021-02-01 23:46

    Using netsh command might help you. You can change the dynamic port range used by Windows.
    It is like the registry modification that you indicated, but it is effective immediately.

    see: http://support.microsoft.com/kb/929851 for details about netsh command.

提交回复
热议问题