Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

docker install port problem #52

Open
hillbun opened this issue Jul 29, 2020 · 1 comment
Open

docker install port problem #52

hillbun opened this issue Jul 29, 2020 · 1 comment

Comments

@hillbun
Copy link

hillbun commented Jul 29, 2020

docker run -d --restart=always --name rtsp-stream -p 81:80 -p 8081:8080 roverr/rtsp-stream:2-management

is 81 and 8081 port also available? or must be 80 and 8081?

in UI http://x.x.x.x:81/,

I enter URL of

rtsp://172.16.55.5:1169/05947160596027700101?DstCode=01&ServiceType=1&ClientType=0&StreamID=1&SrcTP=2&DstTP=2&SrcPP=1&DstPP=1&MediaTransMode=0&BroadcastType=0&SV=0&Token=90WnkTWiVi73twWCx3pjVdvSIjzz8h9+&DomainCode=745a42bef8cf47bfbfa075bf23c86742&UserId=11&

and add, but get no response.

@Roverr
Copy link
Owner

Roverr commented Aug 15, 2020

Hi @hillbun ,

Thanks for opening this issue and sorry for late response!

8080 should be available on your localhost because the frontend currently expects the backend to be on localhost:8080.

So it should be 8080 for the backend and whatever for the frontend basically 😄

That's the reason you are not getting any response. Unfortunately this is a bad mechanism caused by the fact that the current configuration of the frontend application is built-in to the image and expects the backend to be available on localhost:8080. Same issue as #46

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

No branches or pull requests

2 participants