Docker + WebRTC Port ranges
See original GitHub issueNot really an issue, more of a query…
I’m trying to configure geckos to run in a docker image for local dev and testing. I’ve been debugging why geckos can’t seem to connect to the server and narrowed it down to not forwarding a wide range of ports that gets returned from the “additional-candidates” request (http://localhost:9208/.wrtc/v1/connections/HoFlaeDUQ6IsUan1CO4dTIbz/additional-candidates).
As far as I can tell, these ports seem to vary quite wildly. Is there any way to configure the range, or maybe get a list of which ports I need to port forward? I’ve tried something like 5000-65000 but then I just hit a file limit 😕
Here’s my current docker-compose configuration:
version: '3'
services:
client:
image: nginx
volumes:
- ./bin/www:/usr/share/nginx/html
ports:
- '${PORT:-8080}:80'
server:
image: node:13
command: bash -c "yarn --production && node server.js"
volumes:
- ./bin:/app
- ./package.json:/app/package.json
- ./yarn.lock:/app/yarn.lock
- yarn-cache:/root/.yarn-cache
working_dir: /app
ports:
- '9208:9208/tcp'
- '9208:9208/udp'
volumes:
yarn-cache:
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Port Range Docker · Discussion #1869 · pion/webrtc - GitHub
Hi, I'm running pion in a docker container and I'm just wondering what ports I need to expose. Is there a port range?...
Read more >How to use Docker with WebRTC in production - Flashphoner
—ip-range — address range for the subnet, containing addresses that Docker will assign to containers. Configuring WCS. Containers will be put under load...
Read more >j796160836/webrtc-docker - Docker Image - Docker Hub
About port publish: 8080 is used for room server;; 8089 is used for signal server;; 3033 is used for ICE server;; 3478 and ......
Read more >WEBRTC MCU/SFU inside kubernetes - Port Ranges?
How can I expose a port range using kubernetes. Short answer: You cannot. To elaborate a bit more, as Yorgos Saslis mentioned here....
Read more >What is the downside of using smaller set of UDP ports in ...
In all cases, the server SHOULD only allocate ports from the range 49152 - 65535 (the Dynamic and/or Private Port range [Port-Numbers]),.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done! Will be available in v1.7.0
Ok. I will see what I can do 😃