[GH-ISSUE #3206] No connection could be made because the target machine actively r #2572

Closed
opened 2026-05-05 13:39:24 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @cancundeyingzi on GitHub (Dec 13, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3206

Bug Description

有时候挂着挂着就 connectex: No connection could be made because the target machine actively refused it.,但是我关闭窗口重新运行又正常,一般一天会遇到2-3次
防火墙端口全开

frpc Version

0.45

frps Version

0.45

System Architecture

win server2022/win11

Configurations

[common]
#服务端地址
server_addr = 43.xxxx
#服务端监听端口,对应服务器bind_port
server_port = 7000
login_fail_exit=false
#login_fail_exit=false这个配置能够让程序即使链接失败也不会自动退出, 例如当设置frpc为开机启动, 但是刚开机电脑会没有网络这种情况, 如果不设置该配置项, 失败次数过多之后frpc会自动退出.
user = user1
meta_token = hxxx

[main]
type = http
local_ip = 127.0.0.1
local_port = 5244
custom_domains = cancuxxxxx
use_encryption=true
use_compression=true

[common]
#服务器监听端口
bind_port = 7000
#对网穿透http端口
vhost_http_port =80
vhost_https_port =443
#管理页面防访问端口
dashboard_port = 7500

dashboard's username and password are both optional,if not set, default is admin.

dashboard_user = xx
dashboard_pwd = hxxxx

#下面是多用户,配合fp使用
[plugin.multiuser]
addr = 127.0.0.1:7200
path = /handler
ops = Login

Logs

No response

Steps to reproduce

...
正常挂着挂着就.........然后必须手动关闭重启,才能正常运行

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @cancundeyingzi on GitHub (Dec 13, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/3206 ### Bug Description 有时候挂着挂着就 connectex: No connection could be made because the target machine actively refused it.,但是我关闭窗口重新运行又正常,一般一天会遇到2-3次 防火墙端口全开 ### frpc Version 0.45 ### frps Version 0.45 ### System Architecture win server2022/win11 ### Configurations [common] #服务端地址 server_addr = 43.xxxx #服务端监听端口,对应服务器bind_port server_port = 7000 login_fail_exit=false #login_fail_exit=false这个配置能够让程序即使链接失败也不会自动退出, 例如当设置frpc为开机启动, 但是刚开机电脑会没有网络这种情况, 如果不设置该配置项, 失败次数过多之后frpc会自动退出. user = user1 meta_token = hxxx [main] type = http local_ip = 127.0.0.1 local_port = 5244 custom_domains = cancuxxxxx use_encryption=true use_compression=true [common] #服务器监听端口 bind_port = 7000 #对网穿透http端口 vhost_http_port =80 vhost_https_port =443 #管理页面防访问端口 dashboard_port = 7500 # dashboard's username and password are both optional,if not set, default is admin. dashboard_user = xx dashboard_pwd = hxxxx #下面是多用户,配合fp使用 [plugin.multiuser] addr = 127.0.0.1:7200 path = /handler ops = Login ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... 正常挂着挂着就.........然后必须手动关闭重启,才能正常运行 ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
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#2572
No description provided.