fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
86.33k stars 13.35k forks source link

SSH connection refused #4035

Closed Orderheart closed 7 months ago

Orderheart commented 8 months ago

Describe the feature request

When I am following the step to establish the frp connection, I find the client and server's nohup.out are like this:

2024/02/29 21:26:50 [I] [root.go:105] frps uses config file: frps.toml
2024/02/29 21:26:50 [I] [service.go:225] frps tcp listen on 0.0.0.0:7000
2024/02/29 21:26:50 [I] [root.go:114] frps started successfully
2024/02/29 21:26:50 [I] [service.go:338] dashboard listen on 0.0.0.0:7500
2024/02/29 13:28:08 [I] [root.go:142] start frpc service for config file [frpc.toml]
2024/02/29 13:28:08 [I] [service.go:287] try to connect to server...
2024/02/29 13:28:08 [I] [service.go:279] [00c4a11576340766] login to server success, get run id [00c4a11576340766]

they are not like the features I saw in the blogs like :

# tail -f nohup.out 
2018/09/14 05:33:15 [I] [service.go:130] frps tcp listen on 0.0.0.0:7000
2018/09/14 05:33:15 [I] [root.go:207] Start frps success
2018/09/14 05:49:47 [I] [service.go:130] frps tcp listen on 0.0.0.0:7000
2018/09/14 05:49:47 [I] [root.go:207] Start frps success
2018/09/14 06:28:59 [I] [service.go:319] client login info: ip [125.71.219.33:37092] version [0.21.0] hostname [] os [linux] arch [amd64]
2018/09/14 06:28:59 [I] [proxy.go:217] [93eec0dde173fc68] [ssh] tcp proxy listen port [6000]
2018/09/14 06:28:59 [I] [control.go:335] [93eec0dde173fc68] new proxy [ssh] success

This makes my ssh remote connnection refused. How can I deal with this Problem?

Describe alternatives you've considered

No response

Affected area

xqzr commented 8 months ago

在防火墙开放 TCP 6000

github-actions[bot] commented 7 months ago

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