Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 wsl2 下无法访问代理端口 #1573

Closed
guotie opened this issue May 15, 2021 · 3 comments
Closed

在 wsl2 下无法访问代理端口 #1573

guotie opened this issue May 15, 2021 · 3 comments

Comments

@guotie
Copy link

guotie commented May 15, 2021

预期行为

软件配置端口为 10808,代理端口为10809,在windows下使用 telenet 可以访问,在wsl2 下无法访问该端口,10808也无法访问。

软件配置中的 允许局域网访问 也已经打开。

windows下已经打开防火墙,wsl 中可以访问宿主机器.

windows下端口监听:


  15/05/2021   11:35.12   /home/mobaxterm  netstat -an | grep LISTEN
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:4369           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:5040           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:5357           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:5432           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:5672           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:6000           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:6379           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:7680           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:8680           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:10808          0.0.0.0:0              LISTENING
  TCP    0.0.0.0:10809          0.0.0.0:0              LISTENING

实际行为

连接超时

复现方法

日志信息,位置在当前目录下的guiLogs

无相关日志

在这里粘贴日志

环境信息(客户端请升级至最新正式版)

最新版本 v4.16

额外信息(可选)

@ProbeWong
Copy link

试试windows防火墙 公用、专用都打开,我改了后就可以了

@guotie
Copy link
Author

guotie commented May 16, 2021

能简单的说下在哪里修改吗 @ProbeWong

@Hipple
Copy link

Hipple commented May 17, 2021

我是手动配置了下代理,用的时候打开就行了
alias setproxy="export ALL_PROXY=socks5://192.168.1.163:10808"
alias unsetproxy="unset ALL_PROXY"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants