frp icon indicating copy to clipboard operation
frp copied to clipboard

本地服务拒绝连接

Open ydecl opened this issue 3 years ago • 1 comments

Bug Description

image

我在任何设备 上都是报这个错,换过frp版本。也换过设备 ,原先运行可以正常运行。不知道为什么。本地IP 是正确的。

两个机器的防火墙都是关闭状态,服务器的安全组也是开放的。 server image

客户端 image server_addr 为了防止IP泄露 截图时 去掉了

frpc Version

0.44.0

frps Version

0.44.0

System Architecture

linux/amd64

Configurations

frpc.ini [common] server_addr = server_port = 5000

[mm] type = tcp local_ip = 192.168.1.11 local_port = 16000 remote_port = 16000

frps.ini [common] bind_port = 5000

Logs

2022/09/07 20:26:28 [I] [service.go:349] [869a44ebf11c3cce] login to server success, get run id [869a44ebf11c3cce], server udp port [0] 2022/09/07 20:26:28 [I] [proxy_manager.go:144] [869a44ebf11c3cce] proxy added: [mm] 2022/09/07 20:26:28 [I] [control.go:181] [869a44ebf11c3cce] [mm] start proxy success

2022/09/07 20:31:56 [E] [proxy.go:795] [869a44ebf11c3cce] [mm] connect to local service [192.168.1.11:16000] error: dial tcp 192.168.1.11:16000: connect: connection refused
2022/09/07 20:31:56 [E] [proxy.go:795] [869a44ebf11c3cce] [mm] connect to local service [192.168.1.11:16000] error: dial tcp 192.168.1.11:16000: connect: connection refused
2022/09/07 20:31:56 [E] [proxy.go:795] [869a44ebf11c3cce] [mm] connect to local service [192.168.1.11:16000] error: dial tcp 192.168.1.11:16000: connect: connection refused
2022/09/07 20:31:56 [E] [proxy.go:795] [869a44ebf11c3cce] [mm] connect to local service [192.168.1.11:16000] error: dial tcp 192.168.1.11:16000: connect: connection refused
2022/09/07 20:31:56 [E] [proxy.go:795] [869a44ebf11c3cce] [mm] connect to local service [192.168.1.11:16000] error: dial tcp 192.168.1.11:16000: connect: connection refused
2022/09/07 20:31:56 [E] [proxy.go:795] [869a44ebf11c3cce] [mm] connect to local service [192.168.1.11:16000] error: dial tcp 192.168.1.11:16000: connect: connection refused
2022/09/07 20:31:56 [E] [proxy.go:795] [869a44ebf11c3cce] [mm] connect to local service [192.168.1.11:16000] error: dial tcp 192.168.1.11:16000: connect: connection refused

Steps to reproduce

...

Affected area

  • [ ] Docs
  • [ ] Installation
  • [ ] Performance and Scalability
  • [ ] Security
  • [ ] User Experience
  • [ ] Test and Release
  • [ ] Developer Infrastructure
  • [ ] Client Plugin
  • [ ] Server Plugin
  • [ ] Extensions
  • [ ] Others

ydecl avatar Sep 08 '22 00:09 ydecl

检查192.168.1.11:16000上的服务是否正常运行

Becods avatar Sep 08 '22 15:09 Becods

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

github-actions[bot] avatar Oct 09 '22 00:10 github-actions[bot]