mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3354] dial tcp 127.0.0.1:3389: connect: connection refused[Feature Request] #2681
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#2681
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 @1500256797 on GitHub (Mar 11, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3354
Bug Description
server端已经搭建完成 端口18189已经开放
client端已经注册到sever端,并且在dashboard上是正常的。
使用mstsc远程访问18189时候,查看c端的控制台,发现如下报错导致无法连接。本地使用局域网地址是可以连接这个c端机器的。3389端口也是ok的。
dial tcp 127.0.0.1:3389: connect: connection refused[Feature Request]
frpc Version
docker pull snowdreamtech/frpc
frps Version
docker pull snowdreamtech/frps
System Architecture
windows/amd64
Configurations
server端已经搭建完成 端口18189已经开放
client端已经注册到sever端,并且在dashboard上是正常的。
使用mstsc远程访问18189时候,查看c端的控制台,发现如下报错导致无法连接。本地使用局域网地址是可以连接这个c端机器的。3389端口也是ok的。
dial tcp 127.0.0.1:3389: connect: connection refused[Feature Request]
Logs
No response
Steps to reproduce
...
Affected area
@Becods commented on GitHub (Mar 11, 2023):
dial tcp 127.0.0.1:3389: connect: connection refused检查
127.0.0.1:3389是否有程序在监听@1500256797 commented on GitHub (Mar 12, 2023):
C:\Users\jianjianjianjian>netstat -a
活动连接
协议 本地地址 外部地址 状态
TCP 0.0.0.0:135 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:445 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:2179 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:3389 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:5040 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:7680 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:19531 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:49664 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:49665 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:49666 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:49667 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:49668 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:49669 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:49670 DESKTOP-N2B3HNP:0 LISTENING
TCP 0.0.0.0:57778 DESKTOP-N2B3HNP:0 LISTENING
TCP 127.0.0.1:7890 DESKTOP-N2B3HNP:0 LISTENING
@lee-cq commented on GitHub (Mar 30, 2023):
如果你使用的是Docker,那么你可能需要注意下Docker网络的连通性是否正常。
Docker内部的IP地址和主机的IP地址是不一样的,frpc 使用的127.0.0.1 时容器内部的地址,而容器内应该并没有监听3389端口(它在你的主机上)。
解决方案:容器中的FRPC不要使用127.0.0.1 而是使用你的局域网IP地址。
@github-actions[bot] commented on GitHub (Apr 30, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.