mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #1295] tcp转发实现ip:port访问内网web方式出现login to server failed : EOF #1024
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#1024
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 @JKSTAFF on GitHub (Jun 25, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1295
What version of frp are you using (./frpc -v or ./frps -v)?
0.21 (both)
What operating system and processor architecture are you using (
go env)?debian 9
Configures you used:
frps
frpc

Describe the results you received:
login to server failed
login to server failed: dial tcp ip:7000: connect: connection refused
Describe the results you expected:
使用tcp转发实现ip:port访问内网web
Additional information you deem important (e.g. issue happens only occasionally):
systemctl status frps显示正常云行
@chavyleung commented on GitHub (Jun 26, 2019):
表示遇到同样问题,dashboard显示client已经连接上
client端每隔几秒种打印:
@fatedier commented on GitHub (Jun 30, 2019):
login to server failed: dial tcp ip:7000: connect: connection refused表示对端 7000 端口没有监听。@chavyleung commented on GitHub (Jul 1, 2019):
@fatedier 老大,二楼的问题有解吗?同样的client端在我pc上(连公司的网络)能正常运行
所以配置上应该不存在问题,但一旦放在放在公司的服务器运行,就是无限重复打印这段日志:
@chavyleung commented on GitHub (Jul 1, 2019):
version:0.27.0clientserver@z0ow commented on GitHub (Jul 6, 2019):
我也遇到了这种问题,服务器和客户端的版本均为0.27.0,部分局域网段客户端可以正常连接,但在校区内部的局域网,无论centos、ubuntu和windows,均无法正常与服务端建立连接,返回错误:
[W] [service.go:82] login to server failed: EOF
@fatedier commented on GitHub (Jul 7, 2019):
不明原因的情况下被断开连接,一般是你的网络环境问题,比如 frp 相关的内容被屏蔽了。
建议可以尝试多换一些协议,protocol 可以为 tcp、 kcp 或者 websocket。然后 frpc 还可以通过 http proxy 或 socks5 proxy 连接 frps。