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

connect to local service[127.0.0.1:22] error: dial tcp 127.0.0.1:22 i/o timeout #4687

Open
11 tasks
jiangzhaowei opened this issue Feb 26, 2025 · 1 comment
Open
11 tasks

Comments

@jiangzhaowei
Copy link

jiangzhaowei commented Feb 26, 2025

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. start frps and frpc
    1.1start frps
    Image

1.2 start frpc
Image

  1. they establish connection
    Image

3 connect the server 4567 port
Image

4 frps receive the tcp
Image

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

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

  2. 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

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
@jiangzhaowei
Copy link
Author

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

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

1 participant