CodeRabbit-hosted domains
For CodeRabbit-hosted services, the environment running CodeRabbit CLI must allow outbound TCP traffic on port 443. No inbound firewall rule is required. Allow the domain names below instead of fixed IP addresses because the addresses behind these services can change.These requirements cover outbound traffic from the environment running the CLI. CodeRabbit IP addresses for connecting to private Git provider instances cover traffic in the opposite direction and do not replace this domain list.
For a standard US setup, allow
cli.coderabbit.ai, app.coderabbit.ai, and ide.coderabbit.ai. For a standard EU setup, allow cli.coderabbit.ai, app.eu.coderabbit.ai, and ide.eu.coderabbit.ai. Run cr auth status to confirm the active region.
Optional and command-specific access
Some CLI features contact additional services. Allow only the entries needed for your workflow.
GitHub can redirect release downloads to its asset delivery domains. Follow GitHubâs current network guidance rather than relying on one fixed asset hostname.
Default-branch detection can contact the repositoryâs configured origin. If the origin is unavailable from the restricted environment, pass
--base <branch> to avoid that lookup.
Configure Claude Code cloud environments
Claude Code cloud environments use the network policy attached to the selected environment. To run CodeRabbit from an environment with restricted access:- Edit the selected Claude Code cloud environment.
- Set Network access to Custom and retain Claudeâs default allowed domains.
- Add the applicable CodeRabbit domains from the table above, one domain per line.
- Save the environment and start a new cloud session so the updated policy applies.
Authenticate cloud and headless sessions
Browser-based authentication does not require a public inbound firewall rule. Fresh cloud sessions do not inherit CodeRabbit authentication from your local computer. Use an Agentic API key only when the runtime can inject it securely, and follow the Headless CLI integration guide.Self-hosted CodeRabbit
For a self-hosted CodeRabbit deployment, allow the hostname, protocol, and port configured for your instance. The CLI uses HTTPS for authentication and API requests and WSS for the review connection. You might still needcli.coderabbit.ai if you install or update the CLI from CodeRabbitâs distribution service. See Use with self-hosted CodeRabbit for configuration steps.
Troubleshooting
Runcr doctor from the same restricted environment as one connectivity smoke test, then retry the exact command or hostname that failed.
cr doctor is a connectivity smoke test. A passing report does not replace retrying the original command and does not prove that an authenticated review can complete through every network intermediary.
Whatâs next
Headless CLI integration
Authenticate non-interactively with an Agentic API key
Use with self-hosted CodeRabbit
Connect the CLI to your organizationâs self-hosted CodeRabbit instance
CLI Command Reference
Review CLI commands, options, and diagnostics