当我netsh int ipv4 delete excludedportrange protocol=tcp startport=61600 numberofports=100
在 Windows 命令提示符下运行时(以管理员身份),出现“未找到元素”,我觉得这没有帮助。
想知道是否有其他人可以阐明。
编辑:这是@Ramhound 请求的输出
$> netsh interface ipv4 show interfaces
Idx Met MTU State Name
--- ---------- ---------- ------------ ---------------------------
82 1 1199 connected _Common_CSN_VPN_na_res - vpn.****.com
1 75 4294967295 connected Loopback Pseudo-Interface 1
7 35 1500 connected Wi-Fi
25 25 1500 disconnected Local Area Connection* 1
12 5 1500 disconnected Ethernet 2
13 25 1500 disconnected Local Area Connection* 2
4 65 1500 disconnected Bluetooth Network Connection
18 1 1300 connected Ethernet 3
16 35 1500 disconnected Ethernet 4
29 15 1500 connected vEthernet (Default Switch)
5 25 1500 connected VirtualBox Host-Only Network #2
3 35 1500 connected VMware Network Adapter VMnet1
27 35 1500 connected VMware Network Adapter VMnet8
85 5000 1500 connected vEthernet (WSL)