[GH-ISSUE #1113] 远程连接windows时被拒绝 #871

Closed
opened 2026-05-05 12:33:13 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @daheyinyin on GitHub (Mar 6, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1113

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 将会直接关闭。)

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)?
v0.24.1

What operating system and processor architecture are you using (go env)?
Linux & Windows

Configures you used:
[common]
server_addr = xxx.xxx.xxx.xx
server_port = 7000
[rdp]
type = tcp
local_ip = 127.0.1.44
local_port = 2222
remote_port = 6000

Steps to reproduce the issue:
none

Describe the results you received:
J019/03/06 20:11:18 [I] [service, go:214] login to server success, get run id [***** ], server udp port [0]
J019/03/06 20:11:18 [I] [proxy.manager. go:137] [*****] proxy added: [rdp]
J019/03/06 20:11:18 [I] [control, go:143] [rdp] start proxy success
J019/03/06 20:11:47 [E] [proxy, go:446] [rdp] connect to local service [127.0.1.44:2222] error: dial top 127.0.1.44:2222connectex: No connection could be made because the target machine actively refused it.
J019/03/06 20:11:57 [E] [proxy, go:446] [rdp] connect to local service [127.0.1.44:2222] error: dial top 127.0.1.44:2222connectex: No connection could be made because the target machine actively refused it.
J019/03/06 20:13:38 [E] [proxy, go:446] [rdp] connect to local service [127.0.1.44:2222] error: dial top 127.0.1.44:2222connectex: No connection could be made because the target machine actively refused it.

Describe the results you expected:
正常连接

Additional information you deem important (e.g. issue happens only occasionally):
none

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

Originally created by @daheyinyin on GitHub (Mar 6, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1113 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 将会直接关闭。) 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)?** v0.24.1 **What operating system and processor architecture are you using (`go env`)?** Linux & Windows **Configures you used:** [common] server_addr = xxx.xxx.xxx.xx server_port = 7000 [rdp] type = tcp local_ip = 127.0.1.44 local_port = 2222 remote_port = 6000 **Steps to reproduce the issue:** none **Describe the results you received:** J019/03/06 20:11:18 [I] [service, go:214] login to server success, get run id [***** ], server udp port [0] J019/03/06 20:11:18 [I] [proxy.manager. go:137] [*****] proxy added: [rdp] J019/03/06 20:11:18 [I] [control, go:143] [rdp] start proxy success J019/03/06 20:11:47 [E] [proxy, go:446] [rdp] connect to local service [127.0.1.44:2222] error: dial top 127.0.1.44:2222connectex: No connection could be made because the target machine actively refused it. J019/03/06 20:11:57 [E] [proxy, go:446] [rdp] connect to local service [127.0.1.44:2222] error: dial top 127.0.1.44:2222connectex: No connection could be made because the target machine actively refused it. J019/03/06 20:13:38 [E] [proxy, go:446] [rdp] connect to local service [127.0.1.44:2222] error: dial top 127.0.1.44:2222connectex: No connection could be made because the target machine actively refused it. **Describe the results you expected:** 正常连接 **Additional information you deem important (e.g. issue happens only occasionally):** none **Can you point out what caused this issue (optional)** none
Author
Owner

@kybom commented on GitHub (Mar 7, 2019):

你的本地rdp服务配置正确吗?内网地址可以访问吗?

<!-- gh-comment-id:470416029 --> @kybom commented on GitHub (Mar 7, 2019): 你的本地rdp服务配置正确吗?内网地址可以访问吗?
Author
Owner

@daheyinyin commented on GitHub (Mar 7, 2019):

你的本地rdp服务配置正确吗?内网地址可以访问吗?

可以

<!-- gh-comment-id:470425910 --> @daheyinyin commented on GitHub (Mar 7, 2019): > 你的本地rdp服务配置正确吗?内网地址可以访问吗? 可以
Author
Owner

@hianghokung commented on GitHub (Mar 8, 2019):

请再次确认你的服务器防火墙是否放行了6000端口。

<!-- gh-comment-id:470923905 --> @hianghokung commented on GitHub (Mar 8, 2019): 请再次确认你的服务器防火墙是否放行了6000端口。
Author
Owner

@here2011 commented on GitHub (Mar 9, 2019):

我也遇到这个问题,一直连接RDP正常,偶然出现无法建立连接,因为目标机器积极拒绝它。

<!-- gh-comment-id:471193584 --> @here2011 commented on GitHub (Mar 9, 2019): 我也遇到这个问题,一直连接RDP正常,偶然出现无法建立连接,因为目标机器积极拒绝它。
Author
Owner

@daheyinyin commented on GitHub (Mar 10, 2019):

请再次确认你的服务器防火墙是否放行了6000端口。

Netstat -an 没有发现6000端口
防火墙是全部关闭的

<!-- gh-comment-id:471242193 --> @daheyinyin commented on GitHub (Mar 10, 2019): > 请再次确认你的服务器防火墙是否放行了6000端口。 Netstat -an 没有发现6000端口 防火墙是全部关闭的
Author
Owner

@fatedier commented on GitHub (Mar 11, 2019):

日志提示很清楚了,从你的机器无法和 127.0.1.44:2222 建立连接,只能自行排查下相关的网络环境和服务是否正常。

<!-- gh-comment-id:471595617 --> @fatedier commented on GitHub (Mar 11, 2019): 日志提示很清楚了,从你的机器无法和 127.0.1.44:2222 建立连接,只能自行排查下相关的网络环境和服务是否正常。
Author
Owner

@zhang14725804 commented on GitHub (Mar 18, 2020):

检查frp server和frp client启动没有,相应端口开启没有,配置是否正确,还有可能事多个代理冲突呢

<!-- gh-comment-id:600446140 --> @zhang14725804 commented on GitHub (Mar 18, 2020): 检查frp server和frp client启动没有,相应端口开启没有,配置是否正确,还有可能事多个代理冲突呢
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#871
No description provided.