vzakharchenko/rtsp-samsung-tv

Port Error

BPM-NZ opened this issue · 1 comments

Hi there, I'm trying to get the server running in a docker but have a port error when creating the container. There is a service running on port 10000 already, "systemd---miniserv.pl". I am running Portainer also. When I remap the ports can access the web page but can't get any streams going. Any ideas how I can get this going? Cheers

@BPM-NZ
Can you share what command are you use to running docker?

If you change port like that:

docker run -d --name=rtsp-samsung-tv  -p 3004:3004 -p 10004-10009:9999-10004  --restart=always vassio/rtsp-samsung-tv:latest

then you need to change here also port

var url = 'ws://' + serverInfo.ip + ':' + (9999 + _i);

 var url = 'ws://' + serverInfo.ip + ':' + (10004 + _i);

and here

const url = 'ws://' + serverInfo.ip + ':' + (9999 + i);

const url = 'ws://' + serverInfo.ip + ':' + (10004 + i);