[GH-ISSUE #2920] start error: port unavailable #2326

Closed
opened 2026-05-05 13:30:09 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @rgzn-aiyun on GitHub (May 1, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2920

Bug Description

start error: port unavailable

frpc Version

0.42.0

frps Version

0.42.0

System Architecture

amd64

Configurations

frpc -c frpc.ini

Logs

This error occurs a lot, No problem switching back to version 0.41.0
start error: port unavailable

bug
acquire port 22 error: port unavailable
[test] start error: port unavailable
[test] start error: acquire port 22 error: port unavailable
[test] start error: port unavailable
[test] start error: acquire port 22 error: port unavailable
[test] start error: port unavailable

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 @rgzn-aiyun on GitHub (May 1, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2920 ### Bug Description start error: port unavailable ### frpc Version 0.42.0 ### frps Version 0.42.0 ### System Architecture amd64 ### Configurations frpc -c frpc.ini ### Logs This error occurs a lot, No problem switching back to version 0.41.0 start error: port unavailable bug acquire port 22 error: port unavailable [test] start error: port unavailable [test] start error: acquire port 22 error: port unavailable [test] start error: port unavailable [test] start error: acquire port 22 error: port unavailable [test] start error: port unavailable ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:30:09 -06:00
Author
Owner

@Becods commented on GitHub (May 1, 2022):

https://github.com/fatedier/frp/issues/2067

port unavailable means frps can't bind this port.

The reason maybe:

  1. The port is listened by other process.
  2. frps has no enough permissions, try to give it root permission.
<!-- gh-comment-id:1114215152 --> @Becods commented on GitHub (May 1, 2022): https://github.com/fatedier/frp/issues/2067 > `port unavailable` means frps can't bind this port. > >The reason maybe: > > 1. The port is listened by other process. > 2. frps has no enough permissions, try to give it root permission.
Author
Owner

@rgzn-aiyun commented on GitHub (May 3, 2022):

#2067

port unavailable means frps can't bind this port.
The reason maybe:

  1. The port is listened by other process.
  2. frps has no enough permissions, try to give it root permission.

It should be a new version problem, a new parameter config_dir has been added.

<!-- gh-comment-id:1115868508 --> @rgzn-aiyun commented on GitHub (May 3, 2022): > #2067 > > > `port unavailable` means frps can't bind this port. > > The reason maybe: > > > > 1. The port is listened by other process. > > 2. frps has no enough permissions, try to give it root permission. It should be a new version problem, a new parameter config_dir has been added.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 3, 2022):

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

<!-- gh-comment-id:1145472288 --> @github-actions[bot] commented on GitHub (Jun 3, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2326
No description provided.