Windows 11的端口占用
IPFS
升级成windows 11发现常用软件端口打不开了,说端口被占用。
使用命令 netsh interface ipv4 show excludedportrange protocol=tcp 显示很多常用端口被系统保留。包括常用的1080,python常用的5000等。而且每次引导还不一定。
网上找了找,以下方法最好用
netsh int ipv4 set dynamicport tcp start=49152 num=16384
这个命令设定动态端口区,重启系统后,看到所有的占用都到这个区域了
Like my work? Don't forget to support and clap, let me know that you are with me on the road of creation. Keep this enthusiasm together!