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

How Does Bitcoin Mining Work?

Bitcoin mining is the process of adding new transactions to the Bitcoin blockchain. It’s a tough job. People who choose to mine Bitcoin use a process called proof of work, deploying computers in a race to solve mathematical puzzles that verify transactions.To entice miners to keep racing to solve the puzzles and support the overall system, the Bitcoin code rewards miners with new Bitcoins. “This is how new coins are created” and new transactions are added to the blockchain, says Okoro.

浅影随想 from ru


Telegram 浅影随想
FROM USA