[GH-ISSUE #1594] windows版本frpc,使用stcp协议,无法在0.0.0.0开端口 #1262

Closed
opened 2026-05-05 12:48:22 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @jasonto87 on GitHub (Jan 6, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1594

windows版本frpc,使用stcp协议,无法在0.0.0.0开端口。只能够通过localhost:port访问,无法通过ip:port访问 netstat看到监听只能开在127.0.0.1

Originally created by @jasonto87 on GitHub (Jan 6, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1594 windows版本frpc,使用stcp协议,无法在0.0.0.0开端口。只能够通过localhost:port访问,无法通过ip:port访问 netstat看到监听只能开在127.0.0.1
Author
Owner

@QQ2017 commented on GitHub (Jan 6, 2020):

私密代理客户端A
local_ip = 192.168.100.100
local_port = 22

私密代理客户端B(查看端)
bind_addr = 0.0.0.0
bind_port = 2222

测试私密代理客户端B是可以监听0.0.0.0:2222,并且访问2222能连上私密代理客户端A的指定的192.168.100.100:22
所以你是不是搞错?

<!-- gh-comment-id:571037946 --> @QQ2017 commented on GitHub (Jan 6, 2020): **私密代理客户端A** local_ip = 192.168.100.100 local_port = 22 **私密代理客户端B(查看端)** bind_addr = 0.0.0.0 bind_port = 2222 测试私密代理客户端B是可以监听0.0.0.0:2222,并且访问2222能连上私密代理客户端A的指定的192.168.100.100:22 所以你是不是搞错?
Author
Owner

@jasonto87 commented on GitHub (Jan 6, 2020):

确实没有,用开启了加密和tls,在客户端B这里,netstat -ano|findstr "2222" 只有127.0.01:2222在listen

<!-- gh-comment-id:571082937 --> @jasonto87 commented on GitHub (Jan 6, 2020): 确实没有,用开启了加密和tls,在客户端B这里,netstat -ano|findstr "2222" 只有127.0.01:2222在listen
Author
Owner

@jasonto87 commented on GitHub (Jan 6, 2020):

补充一下。这个问题在linux上不存在,使用sudo权限启动frpc即能在0.0.0.0上监听。 但是win7下只能在127.0.0.1上监听

<!-- gh-comment-id:571189166 --> @jasonto87 commented on GitHub (Jan 6, 2020): 补充一下。这个问题在linux上不存在,使用sudo权限启动frpc即能在0.0.0.0上监听。 但是win7下只能在127.0.0.1上监听
Author
Owner

@QQ2017 commented on GitHub (Jan 7, 2020):

你是不是应该把完整的配置文件传上来

<!-- gh-comment-id:571395258 --> @QQ2017 commented on GitHub (Jan 7, 2020): 你是不是应该把完整的配置文件传上来
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1262
No description provided.