zl程序教程

您现在的位置是:首页 >  其它

当前栏目

解决WSL2 443端口占用问题

解决 端口 占用 问题 wsl2 443
2023-09-11 14:18:11 时间

1.查找主机443端口占用程序

netstat -ano|findstr “443”

  结束相关进程

tasklist

 

 

taskkill /f /pid 8920

 

 

2.使用代理

  1.查看主机IP地址

grep nameserver /etc/resolv.conf

  2.写入到环境变量

export https_proxy='http://172.30.112.1:58591'
export http_proxy='http://172.30.112.1:58591'