mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3790] http能转发成功,ssh不行 #3015
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#3015
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 @985492783 on GitHub (Nov 21, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3790
Bug Description
ssh: connect to host xxx port 6000: Connection refused
frpc Version
0.52.3
frps Version
0.52.3
System Architecture
linux/amd64
Configurations
客户端日志
[common]
server_addr = xxx
server_port = 7000
privilege_token = 123456789
token = 123456789
login_fail_exit = true
[web]
type = tcp
localIp = 127.0.0.1
local_port = 22
remote_port = 6000
Logs
2023/11/22 00:06:44 [I] [root.go:139] start frpc service for config file [frpc.toml]
2023/11/22 00:06:44 [I] [service.go:299] [0467ff3b008ac32a] login to server success, get run id [0467ff3b008ac32a]
2023/11/22 00:06:44 [I] [proxy_manager.go:156] [0467ff3b008ac32a] proxy added: [web]
2023/11/22 00:06:44 [I] [control.go:173] [0467ff3b008ac32a] [web] start proxy success
Steps to reproduce
防火墙都是打开的,http是可以成功映射的,tcp不行。
Affected area
@superzjg commented on GitHub (Nov 22, 2023):
删除privilege_token 这个无效
修改localIp,这个错了
@985492783 commented on GitHub (Nov 22, 2023):
找到问题了,我是docker启动的,所以端口在docker容器内开放了没暴露出来