We use Google Analytics and PostHog to see which pages bring in customers and where visitors get stuck. Until you agree both run without cookies — they count the pages you open and what you click, but cannot recognise you across visits. Agreeing lets them use cookies, so we can tell repeat visitors apart, lets PostHog record a replay of your visit, with anything you type hidden, and loads OpenAI’s measurement pixel, which shows us whether a visit came from one of our ads in ChatGPT. Nothing is sent to OpenAI until you agree. Either way we never build advertising profiles or target ads. Privacy Policy

15% off your first purchase with code WELCOME15, up to 25 GB.

See pricing

Guide · Proxy basics

HTTP vs SOCKS5 proxies: what differs and which one to use

For HTTPS scraping and browser automation, an HTTP proxy and a SOCKS5 proxy end up doing the same thing: they open a TCP tunnel to the website, and TLS runs end to end inside it, so the target sees the same exit IP and the same encrypted traffic. The real differences are practical. SOCKS5 carries any TCP protocol and defines UDP, and with socks5h:// the proxy resolves DNS. HTTP is supported with a username and password by far more clients: Chrome and Playwright cannot log in to a SOCKS5 proxy at all. Use HTTP by default and SOCKS5 when the traffic is not HTTP or the client only speaks SOCKS.

Reviewed 19 Nov 2026

The short answer

  • An HTTP proxy opens a tunnel with one CONNECT host:port request and sends credentials in a Proxy-Authorization header. SOCKS5 needs a binary greeting, an RFC 1929 login and a connect request: three round trips instead of one in our curl test.
  • Neither protocol encrypts the hop to the proxy. Basic auth and the RFC 1929 login both send the password readable to anyone on that path; HTTPS content stays encrypted inside either tunnel.
  • socks5h:// sends the hostname to the proxy, socks5:// resolves it on your machine first in curl and Python requests. That is a DNS leak and can send you to the wrong CDN edge.
  • Chrome offers only the no-authentication method to a SOCKS5 proxy, and Playwright refuses a socks5:// server with a username before the browser starts. Use the HTTP form of the proxy, or a local forwarder.
  • SOCKS5 is the one to pick for non-HTTP TCP protocols, clients that only speak SOCKS, and tools that send UDP, provided the proxy implements UDP ASSOCIATE.
  • ARC serves HTTP and SOCKS5 on the same gateway, port and credentials, so switching is a change of scheme, not of plan.

HTTP or SOCKS5 proxy: which should you use?

Start from the client, not the protocol. Most scraping stacks talk HTTP and HTTPS, and every HTTP client that supports proxies supports an HTTP proxy with a username and password. SOCKS5 support is optional in many libraries, needs an extra package in some, and is missing or unauthenticated in others (table below). The exit IP the website sees does not depend on the protocol: on a gateway that serves both, the same username gets the same kind of exit either way, rotating or with a sticky session.

SituationUseWhy
HTTPS scraping with requests, httpx, Scrapy, axios, GoHTTPBuilt in everywhere, one round trip to set up, credentials in one header
Playwright, Puppeteer, Selenium, ChromeHTTPChromium has no SOCKS5 login; Playwright rejects socks5:// with credentials
Plain http:// targets where you want the proxy to see only bytesSOCKS5, or HTTP with a CONNECT tunnelA forward HTTP proxy reads and rewrites a plain-HTTP request; a tunnel does not
Non-HTTP TCP: SMTP checks, databases, custom protocols, SSHSOCKS5Any TCP stream, no HTTP framing; HTTP CONNECT can also carry it if the proxy allows the port
UDP: DNS queries, QUIC, game or VoIP trafficSOCKS5 with UDP ASSOCIATEOnly if the client and the proxy both implement it
A tool that only accepts SOCKS (some desktop apps, Tor-style setups)SOCKS5No choice

What a SOCKS5 proxy sends on the wire vs HTTP CONNECT

An HTTP proxy tunnel is one text request. RFC 9110 defines CONNECT with a target of only host and port, and any 2xx answer switches the connection to tunnel mode right after the response headers. Proxy authentication rides along as a Proxy-Authorization header; a proxy that wants credentials answers 407 with a Proxy-Authenticate header (HTTP CONNECT and proxy authentication have the details).

SOCKS5 is binary and takes three exchanges. RFC 1928: the client sends a greeting listing its authentication methods (00 none, 01 GSSAPI, 02 username/password) and the server picks one or answers FF. RFC 1929: the client sends a version byte 01, then the username and password, each prefixed by its length, and any non-zero status means the server must close the connection. Then the connect request names the destination as an IPv4 address, a domain name or an IPv6 address.

We logged both on one local test port that speaks HTTP and SOCKS5, as the gateway does, with curl 8.7.1 on 19 November 2026:

HTTP CONNECT (`http://user:pass@`)SOCKS5 (`socks5h://user:pass@`)
Client sends firstCONNECT localhost:18801 HTTP/1.1 plus Host, Proxy-Authorization, User-Agent, Proxy-ConnectionGreeting 05 03 00 01 02: three methods offered
LoginInside the same request (Basic: base64, not encryption)Separate RFC 1929 step, username and password in plain bytes
DestinationHost and port as textAddress type 3 (domain name) and the hostname
Round trips before the tunnel13
Handshake bytes, up / down154 / 3932 / 14
Without credentials407, curl: CONNECT tunnel failed, response 40705 FF, curl: No authentication method was acceptable.

SOCKS5 is leaner in bytes and slower to start by two round trips. Neither matters for bandwidth: on a 100 KB page the handshake is noise, and a client that keeps its connection alive pays it once. On a high-latency route with many short connections, HTTP's single round trip is the faster setup. The proxy tester shows the tunnel step as its own phase, and the proxy speed test measures latency and download through the proxy.

Neither protocol encrypts the hop between you and the proxy. RFC 1929 itself warns that the request carries the password in cleartext, and HTTP Basic is only base64. What stays private is the HTTPS content, because TLS starts inside the tunnel, end to end with the website. If you see WRONG_VERSION_NUMBER after writing https:// in front of the proxy, that is the opposite mistake, covered in SSL wrong version number.

socks5 vs socks5h proxy: where DNS is resolved

SOCKS5 can carry a hostname, but the client decides whether to send one. curl and Python requests use the scheme for that: with socks5h:// the proxy resolves the name, with socks5:// your machine resolves it and sends an IP address. curl documents socks5h as "no name resolving done by curl locally", and requests says it follows curl. Other clients ignore the h: httpx, aiohttp-socks and Chrome send the hostname for socks5://, and aiohttp-socks and Chrome reject socks5h:// outright. The per-client table is on socks5h.

Local resolution has two costs. Your own resolver sees every hostname, which is the DNS leak. And the address it picks is the one chosen for your location, so a CDN can hand an exit in Germany the edge nearest your office. Our test showed a third, quieter one: curl with socks5:// resolved localhost to the IPv6 address ::1 and sent that, the target only listened on IPv4, and the proxy answered reply 4, Host unreachable. With socks5h:// the same request went through, because the proxy did its own lookup.

An HTTP proxy has no such switch: CONNECT always carries the hostname, so the proxy resolves it. That is one reason HTTP is the safer default when you are not sure what a library does with socks5://.

Which clients support SOCKS5 proxies with username and password

A SOCKS5 proxy that requires a login is only usable from clients that implement RFC 1929. HTTP proxy authentication is close to universal; SOCKS5 authentication is not. Versions are the ones run on this site's integration pages unless marked as sourced.

ClientSOCKS5SOCKS5 with username/passwordNote
curl 8.7.1YesYesOffered methods 00 01 02 in our test today
Python requestsWith requests[socks]YesUse socks5h://
httpx, aiohttp with aiohttp-socksWith the socks extraYesBoth send the hostname for socks5://
axios / Node via socks-proxy-agentWith the agentYesSet proxy: false in axios
Go net/http, .NET 6+YesYes
Java HttpClientNoNoIgnores a SOCKS ProxySelector and connects directly
Chrome 157YesNoOffered only 00 (no auth) in our test today
Playwright, any browserYesNoThrows Browser does not support socks5 proxy authentication (source)
Firefox settings dialogYesNoBug 122752 still open; extensions such as FoxyProxy can

Chromium's proxy documentation is explicit: "No authentication methods are supported for SOCKSv5 in Chrome", and with SOCKS5 "name resolution is always done proxy side". Puppeteer, Selenium with Chrome, Crawl4AI and browser-use all inherit that, because they drive the same browser.

Playwright SOCKS5 proxy: why it fails and the workarounds

Playwright documents username and password as credentials "if HTTP proxy requires authentication". Its source goes further: normalizeProxySettings() throws Browser does not support socks5 proxy authentication whenever the server URL is socks5: and a username or password is set, before any browser starts, for Chromium, Firefox and WebKit alike. The feature request, issue #2425, was closed in 2020 with HTTP proxies with authentication and SOCKS5 without it; a maintainer later explained that the browsers do not support SOCKS5 with authentication. Credentials inside the URL do not help either: in Chrome they give net::ERR_NO_SUPPORTED_PROXIES (why).

Three workarounds, in order of preference:

  • Use the HTTP endpoint of the same proxy. If the provider serves HTTP, put http://host:port in server and the credentials in username and password. HTTPS pages stay end-to-end encrypted inside the CONNECT tunnel, and nothing about the exit changes. On ARC this is the same port and the same credentials.
  • Run a local forwarder when the upstream speaks only SOCKS5. A small proxy on 127.0.0.1 accepts the browser without a password and logs in to the upstream for it. In our local test, Chrome with --proxy-server=socks5://127.0.0.1:18802 loaded the page through a forwarder that passed each connection on with credentials. Off-the-shelf options include proxy-chain for Node, whose Server accepts a socks5:// or socks5h:// upstream URL (example below).
  • IP allowlisting, if the SOCKS5 provider offers it: the browser then needs no credentials at all. ARC's rotating plans authenticate by username and password, so this route does not apply to them.

The forwarder holds the password and accepts anyone who can reach its port, so bind it to 127.0.0.1 only. Then load what is my IP in the launched browser to confirm traffic leaves through the proxy and not through your own line.

SOCKS5 for UDP and non-HTTP traffic

This is where SOCKS5 earns its place. It relays a TCP stream without knowing what is in it, so a database driver, an SMTP check or an SSH session can use it the same way a browser does. An HTTP CONNECT tunnel can carry those bytes too, but only if the proxy allows that destination port, and the client has to know to ask for a tunnel.

For UDP, RFC 1928 defines UDP ASSOCIATE: the client asks over its TCP connection, the proxy answers with an address and port to send datagrams to, each datagram carries a small header with the destination, and the association ends when the TCP connection closes. Both sides have to implement it: support for CONNECT says nothing about support for UDP ASSOCIATE, and a proxy without it answers reply 7, Command not supported (see SOCKS5 errors). HTTP has had its own answer since 2022, RFC 9298, which proxies UDP over HTTP the way CONNECT proxies TCP; it is a separate protocol that client and proxy must both support.

We do not publish UDP support for the ARC gateway. Plan your workload as TCP: HTTP, HTTPS, and other TCP protocols through SOCKS5 or a CONNECT tunnel.

SOCKS5 configuration with ARC, and static SOCKS5 proxies

The gateway serves HTTP and SOCKS5 on the same host, port and credentials, so the configuration is the proxy URL with a different scheme. Every targeting token in the username, country, city, session and Fast Mode, works the same over both. The dashboard generator writes http:// lines; the API returns SOCKS5 lines when asked for "protocol": "socks5", and the proxy format converter rewrites a list into the scheme each tool expects, including socks5:// for Chrome.

GoalProxy URL
HTTP, the default for everythinghttp://USERNAME:PASSWORD@host:port
SOCKS5, proxy resolves DNS (curl, requests, reqwest, Node agents)socks5h://USERNAME:PASSWORD@host:port
SOCKS5 in clients that reject socks5h (aiohttp-socks)socks5://USERNAME:PASSWORD@host:port
Browsers and Playwrighthttp://host:port with username and password in their own fields

"Static SOCKS5 proxy" mixes two separate choices. Static is about the exit: whether the address stays the same. SOCKS5 is about how your client talks to the proxy. On the rotating residential and ISP pools a _session- handle holds one exit for the minutes you set, over HTTP or SOCKS5 alike; for an address that never changes, see static ISP proxies. Prices for both are on pricing.

SOCKS5 proxy checker: test the protocol before the job

  • Test the exact string. Paste it into the free proxy tester. With protocol on Auto it tries HTTP CONNECT first, then SOCKS5, and shows which one answered; a socks5:// or socks5h:// prefix forces SOCKS5. A failure says where it stopped, for example a rejected login or a tunnel the proxy could not open.
  • Test from the client you will run. A string that works in curl can still fail in Chrome, because Chrome never sends SOCKS5 credentials. One run of the real client against an IP echo page settles it.
  • Check for a DNS leak if you use socks5:// in curl-style clients: switch to socks5h:// and compare the exit location with the proxy location checker.
  • Read the error stage. No authentication method was acceptable means no credentials reached the proxy; a number in parentheses after Can't complete SOCKS5 connection is the proxy's reply code. The full list is in SOCKS5 proxy errors.

Code

Worked example

Same gateway, both protocols, with curl
# HTTP proxy: one CONNECT, credentials in Proxy-Authorizationcurl -sS -x "http://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000" https://api.ipify.org; echo# SOCKS5, hostname resolved at the proxy (greeting, RFC 1929 login, CONNECT)curl -sS -x "socks5h://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000" https://api.ipify.org; echo# socks5:// makes curl resolve api.ipify.org on your machine first: avoid it
Playwright: use the HTTP form of the proxy
from playwright.sync_api import sync_playwright# Same port and credentials as SOCKS5, but HTTP is the scheme Playwright# can authenticate. {"server": "socks5://...", "username": ...} raises# "Browser does not support socks5 proxy authentication" at launch.PROXY = {    "server": "http://proxy.arcproxies.io:8000",    "username": "USERNAME_pool-arcfast_country-de",    "password": "PASSWORD",}with sync_playwright() as p:    browser = p.chromium.launch(proxy=PROXY)    page = browser.new_page()    page.goto("https://api.ipify.org")    print(page.inner_text("body"))    browser.close()
Local forwarder for a SOCKS5-only upstream (proxy-chain)
// Only needed when the upstream speaks SOCKS5 and nothing else.// The browser talks to 127.0.0.1 without a password; the forwarder// logs in upstream. URI-encode the username and password if needed.import { Server } from "proxy-chain"import { chromium } from "playwright"const local = new Server({  port: 8001,  host: "127.0.0.1",  prepareRequestFunction: () => ({    upstreamProxyUrl: "socks5h://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000",  }),})await local.listen()const browser = await chromium.launch({ proxy: { server: "http://127.0.0.1:8001" } })const page = await browser.newPage()await page.goto("https://api.ipify.org")console.log(await page.innerText("body"))await browser.close()await local.close(true)

FAQ

Questions

Something not covered? Write to contact@arcproxies.io.

Is SOCKS5 faster than an HTTP proxy?

Not in any way that shows up in a scraping job. SOCKS5 sends fewer handshake bytes but needs three round trips with a login, against one for an HTTP CONNECT with credentials. After the tunnel is up, both relay the same bytes, and a kept-alive connection pays the setup once. The exit and the route matter far more than the protocol.

Is SOCKS5 more secure or more anonymous than HTTP?

No. Neither encrypts the hop to the proxy, and both send the password readable on that path. HTTPS content is end-to-end encrypted inside either tunnel. The one privacy difference is DNS: use socks5h:// in curl-style clients so your own resolver does not see the hostnames.

Does Playwright support SOCKS5 proxies?

Yes, without authentication. With a socks5:// server and a username or password, Playwright throws Browser does not support socks5 proxy authentication before the browser starts, in every browser. Use the provider's HTTP endpoint with username and password, or a local forwarder that logs in for the browser.

Does Chrome support SOCKS5 with username and password?

No. Chromium documents that it supports no SOCKS5 authentication methods, and in our test Chrome 157 offered only the no-authentication method. Credentials written into the proxy URL give net::ERR_NO_SUPPORTED_PROXIES. Use the HTTP form of the proxy in Chrome.

What is the difference between socks5 and socks5h?

In curl and Python requests, socks5h:// sends the hostname to the proxy, which resolves it; socks5:// resolves it on your machine and sends an IP address. Other clients differ, and the socks5h entry lists them.

Can I use the same ARC credentials for HTTP and SOCKS5?

Yes. The gateway serves both on the same host and port with the same username and password; only the scheme in the proxy URL changes, and every targeting token in the username works over both.

Sources & review

Last reviewed by the ARC Proxies team. Prices are read from the live catalog at build time.

  1. [1]IETF: RFC 1928: SOCKS Protocol Version 5
  2. [2]IETF: RFC 1929: Username/Password Authentication for SOCKS V5
  3. [3]IETF: RFC 9110: HTTP Semantics, section 9.3.6 CONNECT
  4. [4]IETF: RFC 9298: Proxying UDP in HTTP
  5. [5]Chromium: Proxy support in Chrome (net/docs/proxy.md)
  6. [6]Playwright: BrowserType: launch() proxy option
  7. [7]GitHub, microsoft/playwright: packages/playwright-core/src/server/browserContext.ts (normalizeProxySettings)
  8. [8]GitHub, microsoft/playwright: Issue #2425: [Feature] Support Socks5 with auth
  9. [9]Everything curl: SOCKS proxy
  10. [10]Requests: Advanced usage: SOCKS
  11. [11]Mozilla Bugzilla: Bug 122752: SOCKS: Username/Password Authentication (V5)
  12. [12]GitHub, apify/proxy-chain: proxy-chain README: SOCKS upstream proxies

Next

Where to go from here

Use caseProxies for web scraping and data collectionA second provider that just works — Scrapy, requests, Crawlee or Playwright, self-serve, no sales call, bandwidth that never expires.Use caseResidential proxies for AI agentsBring your own residential IPs to browser-use, Playwright, Crawl4AI, n8n and any MCP tool — one sticky session per task, billed per GB.Use caseProxies for QA, app and localisation testingSee your own site the way a user in Tokyo, São Paulo or Munich sees it — currency, language, consent banner, CDN edge and all — before they report it.GlossarySOCKS5SOCKS5 is a proxy protocol, standardised in RFC 1928 in 1996, that relays TCP connections and UDP datagrams between a client and a destination without interpreting the application traffic, with username/password authentication defined separately in RFC 1929.Glossarysocks5hsocks5h is the proxy URL scheme that tells a client to use a SOCKS5 proxy and send it the destination hostname, so the proxy resolves DNS; with socks5 the client resolves the name itself and sends the proxy only an IP address. curl defines socks5h:// as the equivalent of its --socks5-hostname option, and Python requests follows curl.GlossaryHTTP CONNECTHTTP CONNECT is the HTTP request method a client sends to a proxy to ask for a tunnel to a host and port; once the proxy answers with a 2xx status it blindly forwards bytes in both directions, which is how HTTPS passes through an HTTP proxy with TLS intact end to end (RFC 9110, section 9.3.6).GlossaryDNS leakA DNS leak is when a client sends its traffic through a proxy or VPN but resolves hostnames through its own local resolver, so the lookups leave from the original network — exposing which sites you visit to that resolver and, for location-dependent services, possibly connecting you to a server picked for the wrong place.GuideSOCKS5 errors: curl (97) and reply codescurl: (97) Can't complete SOCKS5 connection, General SOCKS server failure and every reply code: what each means and the fix, tested in six clients.GuideFix ERR_NO_SUPPORTED_PROXIESERR_NO_SUPPORTED_PROXIES: Chrome rejected your proxy setting before connecting. Credentials in --proxy-server or socks5h:// cause it. Seen on Chrome 156.IntegrationPlaywrightSet up an authenticated proxy in Playwright for Python and Node: launch and per-context proxies, sticky sessions, geo-targeting and handling proxy errors.IntegrationcurlSend curl through an authenticated proxy with -x and -U, check the exit IP, test sticky sessions and countries, use socks5h, and read 407 failures.Free toolProxy testerExit IP, location, latency per phase, rotation and header anonymity for one proxy, or a quick ping of a long list.Free toolProxy format converterRewrite a proxy list into another format or a ready config snippet, in the browser, with per-line errors.ProductResidentialReal consumer IPs in 185+ countries with city targeting, rotating or sticky, billed per gigabyte with no subscription and no expiry.