mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4687] connect to local service[127.0.0.1:22] error: dial tcp 127.0.0.1:22 i/o timeout #3702
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3702
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jiangzhaowei on GitHub (Feb 26, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4687
Bug Description
frps start , frpc start, they establish connection success. then a connection to connect the frps fixed port,frps can receive the connection,and print the connection information on backend,but the frpc print connect to local service [127.0.0.1:22] error: dial tcp 127.0.0.1:22: i/o timeout
frpc Version
0.61.1
frps Version
0.61.1
System Architecture
linux/amd64,linux arm64
Configurations
frps
bindPort = 7000
auth.token = "Frp20250224"
frpc
serverAddr = "57.201.23.107"
serverPort =7000
auth.token = "Frp20250224"
proxies
name = "test-tcp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 4567
Logs
No response
Steps to reproduce
1.1start frps
1.2 start frpc

3 connect the server 4567 port

4 frps receive the tcp

5 frpc report i/o timeout (ps: frps and frpc device time not same)

use command on frpc device (ss -ltunp | grep 22) indicate the port 22 is opened

so, i guess the frpc device because of not install the ssh,cause the i/o error ? the frpc device use the dropbear tool replace the ssh
Affected area
@jiangzhaowei commented on GitHub (Feb 26, 2025):
frpc device not install ssh tool ,use dropbear replace。I use the MobaXterm_Personal_23.0 tool can connect the frpc device on port 22
@github-actions[bot] commented on GitHub (Mar 13, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.