Claude Code fails to connect behind the proxy
Check Is the IP a SOCKS5 line, or is the URL missing http://? Run /status and look at the Proxy row.
Fix Use an IP bought with Protocol HTTP and write the full URL with http://, username and password.
One fixed HTTP-capable IP for Claude.ai and Claude Code — with Anthropic's region rules spelled out.
Live
Every hour we open Claude through Proxy302 residential IPs in several countries. These are the latest checks.
Loading the latest checks…
Only the first three octets of each IP are shown. Checked on dynamic residential IPs through the public Proxy302 entry.
Anthropic's Supported Regions Policy goes beyond your IP address. Claude.ai, the API and Claude Code are offered only in listed countries — mainland China, Hong Kong, Macau and Russia are not among them — and the policy covers use while you are physically located in an unsupported region. Since September 2025 it also covers companies more than 50% owned by entities headquartered in unsupported regions, wherever they operate.
Sign-up adds a second check: every new account must verify a phone number from a supported location, and VoIP, Google Voice and app-generated numbers are refused. A proxy changes neither rule.
Where a fixed IP does help is the network itself. Claude Code reads standard proxy variables but doesn't support SOCKS, so it needs an HTTP proxy. Claude Enterprise can restrict access to allowlisted IP ranges such as office and VPN exits — a dedicated static IP gives remote team members one address the admin can add. And a team in a supported country keeps every member on one stable exit instead of a shared VPN.
Scroll horizontally with the arrow keys to read all content.
| Criterion | Choose | Why |
|---|---|---|
| Product | Static ISP proxy | One address that never rotates, for the browser and Claude Code |
| Billing | Per IP and term, 1 month | Per-GB static lines don't promise the same IP long term |
| How many IPs | One per person | Each Claude account and each developer keeps their own exit |
| Country | The supported country you work from — the preset picks the US | Anthropic's policy follows where you physically are |
| Protocol | HTTP if you use Claude Code; SOCKS5 (preset) or HTTP in a browser | Claude Code doesn't support SOCKS proxies |
| IP changes | Never during the term | Give an Enterprise admin the IP once; renew to keep it |
The Configure button at the top of this page opens the console's Claude proxy preset. It starts on SOCKS5 — switch Protocol to HTTP before you generate if the IP is for Claude Code.
Scroll horizontally with the arrow keys to read all content.
| Criterion | Static ISP | Rotating residential | Datacenter |
|---|---|---|---|
| What you get | A dedicated IP registered to an internet provider, yours for the whole term | Real household IPs that rotate per request or hold a sticky session | Fast fixed server IPs |
| Price | Per IP and term — live price at checkout | From US$1.50/GB; US$1.35/GB at 100 GB | Per IP — the lowest cost per IP |
| Best for Claude | Claude.ai and Claude Code — one fixed IP per person | Not for signed-in accounts: the IP keeps changing | Server-side API jobs where a residential address isn't needed |
Prices in US dollars; the wallet uses PTC at 1 PTC = US$1. Top up, then buy the line you need. Auto-renewal isn't available yet, so renew the IP in My assets before the term ends to keep it.
The Configure button opens Claude proxy in the console: Billing is Per IP and term, Use case is AI subscriptions and Claude is selected under Choose a platform. Check Region (United States by default), set Protocol to HTTP for Claude Code or keep SOCKS5 for an antidetect browser, set Term to 1 month, set Quantity to the number of IPs you need (one for each person, up to 100 at a time), then click Review cost and generate.
Expected result The IP appears in My assets; Copy all copies host, port, username and password.
Install the Proxy302 browser extension (Downloads and setup at the bottom of /guides) and sign in with Log In to Your Account. In My assets, click Use extension on this IP's row (the extension takes HTTP IPs only), then press Connect in the extension. Open ipinfo.io to confirm the country, then open claude.ai.
Set HTTPS_PROXY to the HTTP IP as shown below, start claude and run /status: the Proxy row shows the URL in use. Claude Code stops at launch if the URL can't be parsed, for example without the http:// prefix.
Send the IP to your admin. Anthropic adds allowlisted ranges on request, so do this before you route the team through the new address.
Before continuing If your network can't reach the proxy directly, start the helper tool first (Connect → Helper tools).
Scroll horizontally with the arrow keys to read all content.
# Claude Code reads the standard proxy variables. It doesn't support SOCKS,
# so use an IP bought with Protocol = HTTP.
export HTTPS_PROXY="http://USERNAME:PASSWORD@HOST:PORT"
claude
# Inside Claude Code, run /status and check the Proxy row.Claude Code uses the first of https_proxy, HTTPS_PROXY, http_proxy, HTTP_PROXY that is set, and accepts basic-auth credentials in the URL. To make it permanent, put the same variable in the env block of ~/.claude/settings.json.
Check Is the IP a SOCKS5 line, or is the URL missing http://? Run /status and look at the Proxy row.
Fix Use an IP bought with Protocol HTTP and write the full URL with http://, username and password.
Check Open ipinfo.io in the same browser. Is the exit in a country on Anthropic's list?
Fix Turn the extension proxy on for this browser or switch to an IP in a supported country. Remember the policy also depends on where you physically are.
Check Is the static IP on the allowlist your admin sent to Anthropic?
Fix Add the address (or its /32 range) to the allowlist and keep everyone on that exit.
Check Is the number a mobile number from a supported location, not VoIP or an app number?
Fix A proxy can't help here: Anthropic only accepts numbers from supported locations.
Anthropic's policy is about where you are physically located, not only the IP you connect from, and it also covers companies majority-owned from unsupported regions. A proxy changes your network exit; it doesn't make that use permitted.
No. Claude Code documents HTTP/HTTPS proxy variables only and says SOCKS proxies aren't supported, so choose Protocol HTTP when you order.
Yes. Every new account verifies a phone number from a supported location; VoIP and app-generated numbers aren't accepted.
Claude Enterprise allowlists take CIDR ranges such as office and VPN exits. A dedicated static IP is yours alone for the term, so you can submit it as a single address.
Static. A rotating IP changes between requests and can't be allowlisted. Use one static IP per person and keep it.
The four official availability lists compared country by country — China, Hong Kong, Russia and more — plus hourly checks of the OpenAI and Anthropic APIs from 7 countries.
Which countries block Discord, YouTube, Instagram, Telegram and more — and hourly checks showing all 38 platforms reachable through residential IPs in 7 countries.
Check the exit IP, country and ISP your proxy really gives you in 30 seconds — and why IP databases disagree on the city. With our own test of three lookup services.
Set up a proxy in AdsPower, BitBrowser, GoLogin, Kameleo, Hidemium or GenLogin: one IP per profile, where each field goes, and what a failed proxy check really means.
What separates rotating residential, static ISP and datacenter proxies — who owns the IP, whether it changes, how you pay — and which one Proxy302's own presets pick for each job.
Official documentation · Checked:
Official documentation · Checked:
Official documentation · Checked:
Official documentation · Checked:
Official documentation · Checked:
Product observation · Checked:
Read from the console source on 2026-10-18. Claude preset: static ISP, United States, SOCKS5, 1-month term. Billing offers Per IP and term or Per GB; per-GB static lines do not promise the same IP long term. Auto-renew IP shows Not yet available. Static IPs never rotate and can be renewed to keep the same address.
Create an account, top up once and pick rotating residential, static ISP or datacenter. Rotating residential exits cover 195+ countries and regions.