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: |

To pay the bills, Mr. Durov is issuing investors $1 billion to $1.5 billion of company debt, with the promise of discounted equity if the company eventually goes public, the people briefed on the plans said. He has also announced plans to start selling ads in public Telegram channels as soon as later this year, as well as offering other premium services for businesses and users.

What is Secret Chats of Telegram

Secret Chats are one of the service’s additional security features; it allows messages to be sent with client-to-client encryption. This setup means that, unlike regular messages, these secret messages can only be accessed from the device’s that initiated and accepted the chat. Additionally, Telegram notes that secret chats leave no trace on the company’s services and offer a self-destruct timer.

浅影随想 from id


Telegram 浅影随想
FROM USA