[GH-ISSUE #1330] 关于端口重复,Warn信息捕获的问题 #1055

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

Originally created by @wzjjack on GitHub (Jul 19, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1330

What version of frp are you using (./frpc -v or ./frps -v)?
版本: v0.13.0

What operating system and processor architecture are you using (go env)?
在node环境中使用:systemctl start frp.service

Describe the results you received:
Jul 19 16:28:05 localhost frpc.aarch64[27796]: 2019/07/19 16:28:05 #033[1;33m[W] [control.go:388] [98567f0050f2fd7f] [SSH9784] start error: listen tcp 0.0.0.0:9784: bind: address already in use#033[0m

Describe the results you expected:
我希望能够在端口出现重复的时候捕获到这个信息,在spawn('systemctl start frpc.service').on('exit',(response)=>{})的时候自定义response的内容

image
这个代码段怎么处理比较合适

Originally created by @wzjjack on GitHub (Jul 19, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1330 **What version of frp are you using (./frpc -v or ./frps -v)?** 版本: v0.13.0 **What operating system and processor architecture are you using (`go env`)?** 在node环境中使用:systemctl start frp.service **Describe the results you received:** ` Jul 19 16:28:05 localhost frpc.aarch64[27796]: 2019/07/19 16:28:05 #033[1;33m[W] [control.go:388] [98567f0050f2fd7f] [SSH9784] start error: listen tcp 0.0.0.0:9784: bind: address already in use#033[0m ` **Describe the results you expected:** 我希望能够在端口出现重复的时候捕获到这个信息,在`spawn('systemctl start frpc.service').on('exit',(response)=>{})`的时候自定义response的内容 ![image](https://user-images.githubusercontent.com/52395237/61526237-a4c32680-aa4c-11e9-9923-ed09edfc0811.png) 这个代码段怎么处理比较合适
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#1055
No description provided.