[GH-ISSUE #3566] 显示端口不可用 #2847

Closed
opened 2026-05-05 13:50:35 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @osongsongo on GitHub (Aug 11, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3566

Bug Description

配置完成后显示2023/08/11 10:45:49 [I] [root.go:220] start frpc service for config file [frpc.ini]
2023/08/11 10:45:50 [I] [service.go:301] [54e6bd8f5733823e] login to server success, get run id [54e6bd8f5733823e]
2023/08/11 10:45:50 [I] [proxy_manager.go:150] [54e6bd8f5733823e] proxy added: [ssh]
2023/08/11 10:45:50 [W] [control.go:170] [54e6bd8f5733823e] [ssh] start error: port unavailable
^C

frpc Version

v0.51.2

frps Version

v0.51.2

System Architecture

windows/amd64

Configurations

Linux端配置:
[common]
bind_port = 7000
token = 123456

#配置frp后台管理账号
dashboard_port = 6000
dashboard_user = song
dashboard_pwd = gaibian2016

#配置日志配置文件夹
log_file = /var/log/frps.log
log_level = info
log_max_days = 3

本地Windows配置:
[common]
server_addr = <我的ip>
server_port = 7000
token = 123456

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000

Logs

2023/08/11 10:34:49 [I] [control.go:332] [d6df4c6f0d62a181] control writer is closing
2023/08/11 10:34:49 [I] [control.go:421] [d6df4c6f0d62a181] client exit success
2023/08/11 10:45:49 [I] [service.go:539] [54e6bd8f5733823e] client login info: ip [117.159.16.126:63911] version [0.51.2] hostname [] os [windows] arch [amd64]
2023/08/11 10:45:49 [W] [control.go:493] [54e6bd8f5733823e] new proxy [ssh] type [tcp] error: port unavailable
2023/08/11 10:45:52 [I] [control.go:332] [54e6bd8f5733823e] control writer is closing
2023/08/11 10:45:52 [I] [control.go:421] [54e6bd8f5733823e] client exit success

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 @osongsongo on GitHub (Aug 11, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3566 ### Bug Description 配置完成后显示2023/08/11 10:45:49 [I] [root.go:220] start frpc service for config file [frpc.ini] 2023/08/11 10:45:50 [I] [service.go:301] [54e6bd8f5733823e] login to server success, get run id [54e6bd8f5733823e] 2023/08/11 10:45:50 [I] [proxy_manager.go:150] [54e6bd8f5733823e] proxy added: [ssh] 2023/08/11 10:45:50 [W] [control.go:170] [54e6bd8f5733823e] [ssh] start error: port unavailable ^C ### frpc Version v0.51.2 ### frps Version v0.51.2 ### System Architecture windows/amd64 ### Configurations Linux端配置: [common] bind_port = 7000 token = 123456 #配置frp后台管理账号 dashboard_port = 6000 dashboard_user = song dashboard_pwd = gaibian2016 #配置日志配置文件夹 log_file = /var/log/frps.log log_level = info log_max_days = 3 本地Windows配置: [common] server_addr = <我的ip> server_port = 7000 token = 123456 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000 ### Logs 2023/08/11 10:34:49 [I] [control.go:332] [d6df4c6f0d62a181] control writer is closing 2023/08/11 10:34:49 [I] [control.go:421] [d6df4c6f0d62a181] client exit success 2023/08/11 10:45:49 [I] [service.go:539] [54e6bd8f5733823e] client login info: ip [117.159.16.126:63911] version [0.51.2] hostname [] os [windows] arch [amd64] 2023/08/11 10:45:49 [W] [control.go:493] [54e6bd8f5733823e] new proxy [ssh] type [tcp] error: port unavailable 2023/08/11 10:45:52 [I] [control.go:332] [54e6bd8f5733823e] control writer is closing 2023/08/11 10:45:52 [I] [control.go:421] [54e6bd8f5733823e] client exit success ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:50:35 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 11, 2023):

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

<!-- gh-comment-id:1712991892 --> @github-actions[bot] commented on GitHub (Sep 11, 2023): 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#2847
No description provided.