Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/lightFantasy/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50
浅影随想 | Telegram Webview: lightFantasy/2035 -
Telegram Group & Telegram Channel
#推荐 #tips #clash #wsl2 #Windows #ss
「各种代理及Docker提示 端口 port 被占用和异常的原因及解决方案」

原因:
由于hyper-v保留了这些端口,所以需要先关闭hyper-v,保留想要保留的端口,再开启hyper-v功能

解决方案(管理员权限):
1. 关闭 hyper-v (需要重启)
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
2. 重启后,按需保留需要的端口(关闭代理/Docker软件)
netsh int ipv4 add excludedportrange protocol=tcp startport=7890 numberofports=3
netsh int ipv4 add excludedportrange protocol=tcp startport=1080 numberofports=2
netsh int ipv4 add excludedportrange protocol=tcp startport=3306 numberofports=1
netsh int ipv4 add excludedportrange protocol=tcp startport=50051 numberofports=1
3. 重新开启 hyper-V (需要重启)
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

via. github@issues:docker
via. github@issues:ss-win

PS
显示 IPv4 协议 tcp 动态端口范围
netsh int ipv4 show dynamicport tcp
设置 IPv4 协议 tcp 动态端口范围
netsh int ipv4 set dynamicport tcp start=49152 num=16384
另一组:
start=1024 num=13977
显示 IPv4 协议 tcp 端口排除范围
netsh int ipv4 show excludedportrange protocol=tcp


@lightFantasy



tg-me.com/lightFantasy/2035
Create:
Last Update:

#推荐 #tips #clash #wsl2 #Windows #ss
「各种代理及Docker提示 端口 port 被占用和异常的原因及解决方案」

原因:
由于hyper-v保留了这些端口,所以需要先关闭hyper-v,保留想要保留的端口,再开启hyper-v功能

解决方案(管理员权限):
1. 关闭 hyper-v (需要重启)
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
2. 重启后,按需保留需要的端口(关闭代理/Docker软件)
netsh int ipv4 add excludedportrange protocol=tcp startport=7890 numberofports=3
netsh int ipv4 add excludedportrange protocol=tcp startport=1080 numberofports=2
netsh int ipv4 add excludedportrange protocol=tcp startport=3306 numberofports=1
netsh int ipv4 add excludedportrange protocol=tcp startport=50051 numberofports=1
3. 重新开启 hyper-V (需要重启)
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

via. github@issues:docker
via. github@issues:ss-win

PS
显示 IPv4 协议 tcp 动态端口范围

netsh int ipv4 show dynamicport tcp
设置 IPv4 协议 tcp 动态端口范围
netsh int ipv4 set dynamicport tcp start=49152 num=16384
另一组:
start=1024 num=13977
显示 IPv4 协议 tcp 端口排除范围
netsh int ipv4 show excludedportrange protocol=tcp


@lightFantasy

BY 浅影随想




Share with your friend now:
tg-me.com/lightFantasy/2035

View MORE
Open in Telegram


浅影随想 Telegram | DID YOU KNOW?

Date: |

Telegram has exploded as a hub for cybercriminals looking to buy, sell and share stolen data and hacking tools, new research shows, as the messaging app emerges as an alternative to the dark web.An investigation by cyber intelligence group Cyberint, together with the Financial Times, found a ballooning network of hackers sharing data leaks on the popular messaging platform, sometimes in channels with tens of thousands of subscribers, lured by its ease of use and light-touch moderation.

How Does Telegram Make Money?

Telegram is a free app and runs on donations. According to a blog on the telegram: We believe in fast and secure messaging that is also 100% free. Pavel Durov, who shares our vision, supplied Telegram with a generous donation, so we have quite enough money for the time being. If Telegram runs out, we will introduce non-essential paid options to support the infrastructure and finance developer salaries. But making profits will never be an end-goal for Telegram.

浅影随想 from jp


Telegram 浅影随想
FROM USA