[GH-ISSUE #2117] 使用frp的连接内网机器,不到一分钟就自己断开,大佬们觉得可能是哪里的原因 #1681

Closed
opened 2026-05-05 13:04:37 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @umena337 on GitHub (Nov 28, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2117

frp 0.27
frpc端:
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000

image
xshell试验了能连上内网机器,连上不到一分钟就自己断开了!!!!
》》》
[root@localhost frp_0.27.0_linux_amd64]# Connection closing...Socket close.
Connection closed by foreign host.
Disconnected from remote host(内网2xx) at 13:36:01.

Originally created by @umena337 on GitHub (Nov 28, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/2117 frp 0.27 frpc端: [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000 ![image](https://user-images.githubusercontent.com/44667665/100494648-7f851300-317e-11eb-8ced-edb4292c6175.png) xshell试验了能连上内网机器,连上不到一分钟就自己断开了!!!! 》》》 [root@localhost frp_0.27.0_linux_amd64]# Connection closing...Socket close. Connection closed by foreign host. Disconnected from remote host(内网2xx) at 13:36:01.
gitea-mirror 2026-05-05 13:04:37 -06:00
Author
Owner

@umena337 commented on GitHub (Nov 28, 2020):

真是难顶

<!-- gh-comment-id:735043636 --> @umena337 commented on GitHub (Nov 28, 2020): 真是难顶
Author
Owner

@umena337 commented on GitHub (Nov 30, 2020):

更新0.34.3正常

<!-- gh-comment-id:735505871 --> @umena337 commented on GitHub (Nov 30, 2020): 更新0.34.3正常
Author
Owner

@github-actions[bot] commented on GitHub (Jan 15, 2021):

Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.

<!-- gh-comment-id:760597908 --> @github-actions[bot] commented on GitHub (Jan 15, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
Author
Owner

@HellowBoy commented on GitHub (Feb 7, 2025):

我是这样解决的,目前测试没问题了。
客户端和服务器端关闭端口复用,客户端注册间隔时间设置为0

<!-- gh-comment-id:2641984465 --> @HellowBoy commented on GitHub (Feb 7, 2025): 我是这样解决的,目前测试没问题了。 客户端和服务器端关闭端口复用,客户端注册间隔时间设置为0
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#1681
No description provided.