mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2905] dial tcp IP:PORT: i/o timeout #2315
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#2315
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 @azbub on GitHub (Apr 20, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2905
Bug Description
Set-up the server side of the proxy with this command
./frps -c ./frps.iniand this frps.ini config :I get this ouput :
I run the local server with this command
./frpc -c ./frpc.iniand this frpc.ini config :I get this output :
dial tcp SERVER_IP:7000: i/o timeoutI have added
bind_addrto bin to 127.0.01 / server public IP / server private IP without success.I made sure the instance ports are all open and ufw has been disabled.
frpc Version
0.41.0
frps Version
0.41.0
System Architecture
linux/amd64 && mac/arm64
Configurations
Local :
server :
Logs
server :
local :
dial tcp SERVER_IP:7000: i/o timeoutSteps to reproduce
...
Affected area
@Becods commented on GitHub (Apr 25, 2022):
Check if the server port is successfully opened
Use
tcpingor other tools@azbub commented on GitHub (Apr 25, 2022):
The port is closed, that's the issue.
I made sure the instance security group allows inbound and outbound traffic on the 7000 TCP port.
@github-actions[bot] commented on GitHub (May 26, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@wlf-darkmatter commented on GitHub (May 30, 2022):
我也遇到这个情况,就是
[W] [service.go:128] login to server failed: dial tcp [$IP]:7000: i/o timeout一般是服务器的防火墙设置问题,我使用的是腾讯的轻量级服务器,通过指令可以成功开启
查看防火墙打开情况
firewall-cmd --zone=public --list-ports添加防火墙开启端口 TCP协议 7000-7009端口
firewall-cmd --zone=public --add-port=7000-7009/tcp --permanent更新防火墙配置
firewall-cmd --reload@github-actions[bot] commented on GitHub (Jul 1, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@liam-pat commented on GitHub (Sep 11, 2022):
@wshidaijingshen commented on GitHub (Mar 25, 2023):
我是客户端的 公网ip 地址写错了,好好检查下
I solved this by correcting the
server_addrinfrpc.ini.Then problems gone.
The
firewall (or security group)on cloud servers may cause this problem.check them wisely .还有一种,是防火墙不通,telnet 一下服务器 看看 。
云服务器有 安全组策略,或者 防火墙策略,默认是很严格的,要放开一下。