early-restaurant-74591
09/18/2025, 3:24 AMport: 7880 and health_port: 9090. Why would egress ignore the main API port setting while respecting other config values?"_tall-airline-16756
09/18/2025, 3:24 AMtall-airline-16756
09/18/2025, 3:24 AMearly-restaurant-74591
09/18/2025, 3:50 AMegress (no arguments)
What's Working:
• ✅ Config file is being read correctly
• ✅ Redis connection works (proves config parsing)
• ✅ Health port 9090 responds to curl requests
• ✅ Health port configured as health_port: 9090
The Problem:
• ❌ API port 7880 configured as port: 7880 in config
• ❌ Port 7880 shows "blocked or in use" when testing socket binding
• ❌ Port 7880 does NOT appear in /proc/net/tcp as listening
• ❌ Cannot access egress logs due to permission restrictions
Key Finding: Egress successfully reads the config file and binds to the health port (9090) but fails to bind to the main API port (7880). The port appears "in use" but isn't actually listening, suggesting a silent binding failure.
No Error Logs Available:
• No egress-specific log files found in /var/log/
• Cannot access process stdout/stderr due to permissions
• Cannot access system logs (dmesg) due to container restrictions
This points to egress having an issue specifically with binding the main API port while other config settings work fine. LiveKit should be able to help identify why this selective binding failure occurs.tall-airline-16756
09/18/2025, 3:50 AMhealth_port you mentioned (9090 in your setup) is there for health checks, and you can also set up a prometheus_port if you want to collect metrics. But just to clarify, there isn’t a separate API port for the egress service itself.
If you have any more questions or need a hand with the configuration, please don’t hesitate to reach out—I’m here to help!
Sources: pkg/config/service.go | Self-hosting the Egress Service | LiveKit Docs | ingress-sample.yamlearly-restaurant-74591
09/18/2025, 4:00 AMtall-airline-16756
09/18/2025, 4:01 AM