[GH-ISSUE #1554] A connection attempt failed because the connected party did not properly respond #1230

Closed
opened 2026-05-05 12:47:19 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @ZenWayne on GitHub (Dec 6, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1554

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
(请不要在 issue 评论中出现无意义的 加1我也是 等内容,将会被直接删除。)
(由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
0.30.0
0.30.0

What operating system and processor architecture are you using (go env)?
server: centos 7 amd64
client:windows 10 amd64

Configures you used:
frps.ini

[common]
bind_port = 7000
allow_ports = 2000,2004
token = frp1234
tcp_mux = true

frpc.ini

[common]
server_addr = server ip
server_port = 7000
token = frp1234


[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 2000

Steps to reproduce the issue:
1../frps -c frps.ini
2../frpc -c frpc.ini

Describe the results you received:
Client:

2019/12/07 00:33:37 [W] [service.go:97] login to server failed: dial tcp server ip: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 111.231.163.134: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.

Server

2019/12/07 00:26:59 [I] [service.go:141] frps tcp listen on 0.0.0.0:7000
2019/12/07 00:26:59 [I] [root.go:205] start frps success

Describe the results you expected:
客户端能连上服务器端

Additional information you deem important (e.g. issue happens only occasionally):
我能在服务器上成功用上述客户端配置启动客户端(server_addr用的是link addr),启动frpc
并能成功用端口2000连上ssh

Can you point out what caused this issue (optional)
No

Originally created by @ZenWayne on GitHub (Dec 6, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1554 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) (请不要在 issue 评论中出现无意义的 **加1**,**我也是** 等内容,将会被直接删除。) (由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.30.0 0.30.0 **What operating system and processor architecture are you using (`go env`)?** server: centos 7 amd64 client:windows 10 amd64 **Configures you used:** frps.ini ``` [common] bind_port = 7000 allow_ports = 2000,2004 token = frp1234 tcp_mux = true ``` frpc.ini ``` [common] server_addr = server ip server_port = 7000 token = frp1234 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 2000 ``` **Steps to reproduce the issue:** 1.`./frps -c frps.ini` 2.`./frpc -c frpc.ini` **Describe the results you received:** Client: ``` 2019/12/07 00:33:37 [W] [service.go:97] login to server failed: dial tcp server ip: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 111.231.163.134: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. ``` Server ``` 2019/12/07 00:26:59 [I] [service.go:141] frps tcp listen on 0.0.0.0:7000 2019/12/07 00:26:59 [I] [root.go:205] start frps success ``` **Describe the results you expected:** 客户端能连上服务器端 **Additional information you deem important (e.g. issue happens only occasionally):** 我能在服务器上成功用上述客户端配置启动客户端(server_addr用的是link addr),启动frpc 并能成功用端口2000连上ssh **Can you point out what caused this issue (optional)** No
Author
Owner

@ZenWayne commented on GitHub (Dec 6, 2019):

服务器上开了7000端口和2000,2004端口,服务器上nc -l 2000,客户端用nmap扫端口能看到端口2000是open
但端口7000一直是filter

<!-- gh-comment-id:562649170 --> @ZenWayne commented on GitHub (Dec 6, 2019): 服务器上开了7000端口和2000,2004端口,服务器上`nc -l 2000`,客户端用nmap扫端口能看到端口2000是`open` 但端口7000一直是`filter`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1230
No description provided.