Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port Error #20

Open
BPM-NZ opened this issue Sep 12, 2021 · 1 comment
Open

Port Error #20

BPM-NZ opened this issue Sep 12, 2021 · 1 comment

Comments

@BPM-NZ
Copy link

BPM-NZ commented Sep 12, 2021

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

@vzakharchenko
Copy link
Owner

@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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants