[GH-ISSUE #1942] Problems caused by an occupied dashboard port #1544

Closed
opened 2026-05-05 12:58:46 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @xiaoxin2016 on GitHub (Aug 16, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1942

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.

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.33.0

What operating system and processor architecture are you using (go env)?
Linux raspberrypi 4.19.66-v7+ # 1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

Configures you used:

[common]
bind_port = 7000
token = OMIT_IT

dashboard_port = 7500
dashboard_user = OMIT_IT
dashboard_pwd = OMIT_IT

Steps to reproduce the issue:
There is no error when the dashboard port is occupied. However, all the ports of reverse proxy are not available. It shows "Connection refused".
image

Describe the results you received:
ConnectionRefusedError: [Errno 61] Connection refused

Describe the results you expected:
regular access.
It might be better to detect if the port of dashboard is occupied when starting frps service.

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

Originally created by @xiaoxin2016 on GitHub (Aug 16, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1942 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. 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.33.0 **What operating system and processor architecture are you using (`go env`)?** Linux raspberrypi 4.19.66-v7+ # 1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux **Configures you used:** ``` [common] bind_port = 7000 token = OMIT_IT dashboard_port = 7500 dashboard_user = OMIT_IT dashboard_pwd = OMIT_IT ``` **Steps to reproduce the issue:** There is no error when the dashboard port is occupied. However, all the ports of reverse proxy are not available. It shows "Connection refused". ![image](https://user-images.githubusercontent.com/24978668/90327424-fd555200-dfc5-11ea-9cb8-2844ec069212.png) **Describe the results you received:** ConnectionRefusedError: [Errno 61] Connection refused **Describe the results you expected:** regular access. It might be better to detect if the port of dashboard is occupied when starting frps service. **Additional information you deem important (e.g. issue happens only occasionally):**
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#1544
No description provided.