腾讯云frp连接失败。login to server failed: dial tcp x:7000: connectex: A connection attempt failed because

本文记录了在腾讯云服务器上使用frp时遇到的连接失败问题,详细介绍了如何解决由于服务器防火墙规则限制导致的连接超时。通过安装和配置iptables,开启必要的端口,确保frp服务正常运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

地址:https://github.com/fatedier/frp
简介:一个高效的反向代理:A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

最全面的官方教程文档:https://gofrp.org

自我记录:

a、使用TCP代理,开启本地服务器的访问。

Linux服务器启动 frps

命令:nohup ./frps -c frps.ini(无挂起启动命令。可以自定义个shell脚本,避免每次切换目录,再启动)
配置:frps.init

[common]
bind_port = 7000
token = 123456

Windows启动 frpc

CMD命令:frpc -c testzyh.ini

配置:testzyh.ini

C:\Users\Administrator\Desktop\frpjk>frpc -c testzyh.ini
2022/01/25 14:18:15 [W] [service.go:86] login to server failed: dial tcp 124.223.72.221:7000: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
dial tcp 124.223.72.221:7000: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

失败案例:腾讯云的Linux的frps启

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值