SOCKS5 configuration guide

SOCKS5 proxy in Selenium

Configure a SOCKS5 dedicated static residential endpoint in Selenium: exact syntax, authentication, DNS handling, and verification.

Quick answer

Point Selenium at socks5://host:port with your NobleProxy username and password, prefer the hostname (remote DNS) form, and verify the exit IP with an echo request.

Exact SOCKS5 syntax
Authentication included
Remote DNS handling
Verification step

When this is the right fit

  • Exact SOCKS5 syntax
  • Authentication included
  • Remote DNS handling

Who this page is for

Configure a SOCKS5 dedicated static residential endpoint in Selenium: exact syntax, authentication, DNS handling, and verification.

Point Selenium at socks5://host:port with your NobleProxy username and password, prefer the hostname (remote DNS) form, and verify the exit IP with an echo request.

SOCKS5 in Selenium, step by step

  1. 1

    Build the SOCKS5 URL

    Set the Proxy object with socksProxy and socksVersion=5 in capabilities before the driver starts..

  2. 2

    Prefer remote DNS

    Use the hostname form (socks5h in libraries that distinguish) so DNS resolves at the endpoint.

  3. 3

    Verify the exit IP

    Fetch an IP echo URL through the tool and confirm the endpoint address.

  4. 4

    Pin one endpoint per profile

    Keep the mapping stable so session history accumulates on one identity.

Sources

Facts last reviewed 2026-09-01.

Why SOCKS5 for persistent profiles

SOCKS5 carries the handshake credentials and (in the hostname form) resolves DNS at the endpoint, so both traffic and lookups stay on one identity. Static residential endpoints keep that identity stable across runs.

195+ countries
99.9% uptime guarantee
Unlimited bandwidth
4.9/5 from 127 ratings

Frequently asked questions

Does Selenium support SOCKS5 authentication?

Yes - credentials are part of the SOCKS5 URL or the tool's dedicated auth option. If a 407 or handshake error appears, re-check the credential order and encoding.

Choose one stable proxy for every active profile

Buy self-serve now, or talk with us about a larger agency inventory.