Skip to content
BENIBIX Learn

sandbox.network.httpProxyPort

AI⌨️ Claude CodeConfiguration

Also known as httpProxyPort, sandbox proxy

The key that sends sandbox traffic through your own proxy.

Think of it like

It is like your own guard at the gate. You use them, not the one the building has.

Example

Emma's work logs every web request. IT sets httpProxyPort to its own proxy, and the sandbox sends its traffic there.

Why it matters

Your team may have a proxy with rules it trusts. This key lets you use it.

Definition

sandbox.network.httpProxyPort is a settings key that points the sandbox at your own web proxy. It names the proxy by its local port. Teams do this to check, filter or log traffic. Your proxy then does the filtering, and Claude Code stops using its own host lists and prompts for that traffic. Left unset, Claude Code runs its own proxy.

Example code

json
{
  "sandbox": {
    "network": {
      "httpProxyPort": 8080
    }
  }
}
Send web traffic from commands through the proxy on port 8080.

Common mistake

Keeping the allow list and thinking it still filters. Your proxy now does that job.

Key takeaways

  1. 1
    Your own proxy. By port.
  2. 2
    Proxy does filtering. Lists skipped.
  3. 3
    Unset runs built-in. Default.