if i need to self host my agent, what urls do i ne...
# ask-ai
w
if i need to self host my agent, what urls do i need for my egress rule?
t
Thanks for reaching out, Jimmy. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking which outbound URLs to allow for a self‑hosted LiveKit agent. Allow: • LiveKit websocket:
wss://<your-livekit-host>:443
(replace
<your-livekit-host>
with your LiveKit server domain or IP) • If using LiveKit Cloud / TURN:
wss://<your-project>.livekit.cloud:443
and
wss://*.turn.livekit.cloud:443
• External APIs the agent uses: e.g.,
api.openai.com
,
api.deepgram.com
, or any other AI/speech/telemetry endpoints set in your environment variables • DNS and NTP as usual (outbound UDP/TCP to your DNS servers and NTP servers) No inbound ports need to be opened on the agent host — the agent initiates outbound connections to the LiveKit server. Would you like me to list exact domains from your current agent configuration if you share the environment variables or config file? Sources: Deploying to custom environments | LiveKit Docs | Configuring firewalls | LiveKit docs