# sandbox.network.httpProxyPort

> The key that sends sandbox traffic through your own proxy.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** httpProxyPort, sandbox proxy

## Think of it like

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

## 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

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

## Example code

```json
{
  "sandbox": {
    "network": {
      "httpProxyPort": 8080
    }
  }
}
```

Send web traffic from commands through the proxy on port 8080.

## Why it matters

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

## Common mistake

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

## Three principles

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

## Related terms

- [sandbox.network.allowedDomains](https://learn.benibix.com/term/ai/sandbox-allowed-domains-setting)
- [sandbox.credentials](https://learn.benibix.com/term/ai/sandbox-credentials-setting)

---

Source: https://learn.benibix.com/term/ai/sandbox-http-proxy-port-setting
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
