解决WSL2 443端口占用问题

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'
原文地址:https://www.cnblogs.com/fanqisoft/p/13040404.html