canyanio / janus-gateway-docker

Docker image for the Janus WebRTC Server
Other
165 stars 67 forks source link

Cannot access Janus service when using host network. #24

Open LegendCai2017 opened 2 years ago

LegendCai2017 commented 2 years ago

Hi!

When I launched the container with docker run -p 8088:8088 -p 8089:8089 -p 8889:8889 -p 8000:8000 -p 7088:7088 -p 7089:7089 <image_id>, I can access Janus through http://127.0.0.1:8088/. However, if I try to use host network with docker run --network host <image_id>, I am not able to access Janus service.