WebRTC port already in use. Any port!
Hello I am on go2rtc Version: 1.9.10, running on host network in Unraid 7.1.4.
First of all, there is nothing else on the default port 8555 No matter what port I try for WebRtc, I always always get address already in use, such as: ERR github.com/AlexxIT/go2rtc/internal/webrtc/webrtc.go:48 > error="listen udp 192.168.1.100:8555: bind: address already in use" No issues with RTSP or MSE
I did disable Frigate and home Assistant already.
What else can I try to fix this?
Thank you.
Google how to check which program is using a port in Linux.
Thank you for your reply @AlexxIT . But as I said in the first post, no other program is using that port. ANY port I try it says it's already in use
I have no clue at this point
- Show your config (webrtc part)
- When you get this error? On app start? On stream strart?
I get the error on app start.
api:
listen: ":8084"
rtsp:
listen: ":8556"
webrtc:
listen: ":8991" #or any port
candidates:
- 192.168.1.100
thank you very much for helping out
Try to add your server IP-address to listener.
holy cow that did it. I know this was a lame issue, but thank you so much for helping out anyway!
In any case, it's a bug. The port should work just fine.
I had the same issue after upgrading to 1.9.10. Thank you!
I want to bump this :)
@TokeyChan If you have IPv6 address there - it's another issue. If this error happened for any port (you should try several) - it's another issue. In other case - it's your problem that the port is actually occupied by another application.
I tried multiple ports and none made it possible to use. Hence I think it is the exact same issue that the original poster had
My bad. Any port is this problem. Have you tried the latest version of go2rtc?
I'm using the newest available docker container, which is v1.9.11
i'm also getting this error in v1.9.12
go2rtc-1 | 17:11:24.381 ERR github.com/AlexxIT/go2rtc/internal/webrtc/webrtc.go:48 > error="listen udp [fe80::f0a9:42ff:fea3:6294%br-4979fe2d75df]:8555: bind: cannot assign requested address"