mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #2843] login to server failed: dial tcp {IP:PORT}: i/o timeout #2274
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#2274
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 @rootGH on GitHub (Mar 15, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2843
Bug Description
VPS IP:PORT has been switched off already
frpc Version
0.40.0
frps Version
0.40.0
System Architecture
windows/amd64
Configurations
Client
[common]
server_addr = {IP}
server_port = 7000
[RDP]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 7001
Server
[common]
bind_port = 7000
Logs
D:\frp_0.40.0_windows_amd64>frpc.exe
2022/03/15 09:25:40 [W] [service.go:105] login to server failed: dial tcp {IP:PORT}: i/o timeout
dial tcp {IP:PORT}: i/o timeout
Steps to reproduce
...
Affected area
@Qpp0 commented on GitHub (Mar 16, 2022):
same here
@Becods commented on GitHub (Mar 16, 2022):
post the log of frps, pls
@rootGH commented on GitHub (Mar 16, 2022):
no logs, only two lines
D:\frp_0.40.0_windows_amd64>frpc.exe
2022/03/15 09:25:40 [W] [service.go:105] login to server failed: dial tcp {IP:PORT}: i/o timeout
dial tcp {IP:PORT}: i/o timeout
@rootGH commented on GitHub (Mar 16, 2022):
no logs, only two lines
D:\frp_0.40.0_windows_amd64>frpc.exe
2022/03/15 09:25:40 [W] [service.go:105] login to server failed: dial tcp {IP:PORT}: i/o timeout
dial tcp {IP:PORT}: i/o timeout
@Pil0tXia commented on GitHub (Mar 17, 2022):
me too here
@Becods commented on GitHub (Mar 20, 2022):
Use tcping to test if the port is open properly
@scmplie commented on GitHub (Mar 21, 2022):
Have you found a solution
@Pil0tXia commented on GitHub (Mar 21, 2022):
solved, this problem mostly happens in cloud servers, the source port range should be *
@scmplie commented on GitHub (Mar 21, 2022):
how to do it, buddy
is it means that i need to open all the tcp+udp port
@scmplie commented on GitHub (Mar 21, 2022):
我也搞好了,我用内网那个ping外网的IP发现ping不通,然后发现路由器的网络控制把我那个frp服务器给限时了,改了一下就好了。
@fantasyEthan commented on GitHub (Mar 31, 2022):
I encountered the same problem. I use Aliyun ECS + computer in edu domain. I followed the instructions and set the firewalls of ecs. How did you solve these problems?
@marcuswang6 commented on GitHub (Apr 1, 2022):
腾讯云 同样有这个问题 设置了防火墙也没有用。
@ArthurWang0829 commented on GitHub (Apr 1, 2022):
请问下这个是怎么改?阿里云ping起来回报正常,是端口不对?
@github-actions[bot] commented on GitHub (May 2, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@CaesarHolland commented on GitHub (Jan 9, 2023):
My cloud server is Tencent cloud, I solved the problem by add a firewall rule (open port 7000 of tcp) on cloud server
@liugeng518 commented on GitHub (Feb 11, 2023):
怎么解决的?
@wshidaijingshen commented on GitHub (Mar 25, 2023):
我是客户端的 公网ip 地址写错了,好好检查下
I solved this by correcting the server_addr in frpc.ini .
Then problems gone.
@52Lau commented on GitHub (Apr 17, 2023):
如楼上所说 放开 *
@luccachiang commented on GitHub (Jun 8, 2023):
It turns out that the port 6000 and 7000 should both be opened (I referred to one guide with these two ports). In my case, this solves my problem.