Windows 无法绑定到 49690 以上的端口 [英] Windows can't bind to port above 49690

查看:32
本文介绍了Windows 无法绑定到 49690 以上的端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在运行一个绑定到端口 50005 的应用程序,最近似乎发生了一些变化,我的机器上没有应用程序能够绑定到 127.0.0.1 上 49690 .. 以上的任何 TCP 端口.

有谁知道什么时候/什么改变了?

操作系统名称 Microsoft Windows 10 企业版
版本 10.0.17763 内部版本 17763

解决方案

问题与此有关:

I've been running an application which binds to port 50005 for quite some time and it seems that something changed recently and no application on my machine is able to bind to any TCP port above 49690 .. on 127.0.0.1.

Does anyone know when / what changed?

OS Name Microsoft Windows 10 Enterprise
Version 10.0.17763 Build 17763

解决方案

The problem was related to this: https://support.microsoft.com/en-za/help/929851/the-default-dynamic-port-range-for-tcp-ip-has-changed-in-windows-vista

It seems the Windows reserves the bottom range of these dynamic ports. The only way I could free up the port, allowing any application to bind to port 50005 was to move the dynamic port range up a little.

After the below change and a reboot all applications were once again able to bind to the port.

这篇关于Windows 无法绑定到 49690 以上的端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆