Referral Program →
HomeDocumentationProtocols and ports: HTTP, SOCKS5 and UDP

Protocols and ports: HTTP, SOCKS5 and UDP

IPv4, ISP, residential and mobile proxies speak both HTTP and SOCKS5, and IPv6 orders are issued for one of the two. Where they differ is which port answers, whether DNS resolves on your side or ours, and whether UDP goes through.

Ports by product

On residential, one port serves both protocols: the service reads the first bytes of the connection and works out whether it is an HTTP request or a SOCKS handshake. You choose the protocol in your client, or with the http:// or socks5:// prefix in the connection string, not by picking a port.

On IPv4 and ISP addresses SOCKS5 always sits one number above HTTP: 50100 for HTTP(S) and 50101 for SOCKS5, with the same login and password on both. If HTTP works and SOCKS5 does not, you are almost certainly still pointed at 50100.

Above the list on the Proxies page there is an HTTP / SOCKS5 switch. It sets which port goes into copies and exports, so set it before you copy. Mobile proxies show two connection lines in their row, SOCKS5 and HTTP, each with its own port.

Ports

Residential   proxy.sotaproxy.com:10000   HTTP and SOCKS5
IPv4, ISP     your-ip:50100               HTTP
              your-ip:50101               SOCKS5
IPv6          one port, protocol chosen when ordering
Mobile        two lines per modem, SOCKS5 and HTTP

IPv6: one protocol per order

IPv6 proxies are issued for one protocol, the one you choose in the Protocol field when buying: HTTPS or SOCKS5. All addresses in that order work only over this protocol and have a single port.

If you need the other protocol as well, place a separate order for it.

Choosing between them

HTTP(S) is the simpler path and what most programs, browsers and libraries support without extra packages. It opens HTTPS sites too: the connection to the site stays encrypted. Use it unless you need something it cannot carry.

SOCKS5 carries any TCP traffic, not only web pages, which matters for programs that are not browsers. On residential proxies it also carries UDP. It is not more anonymous and it is not encrypted: both properties come from TLS at the application layer, not from the proxy protocol.

UDP on residential proxies

Residential proxies carry UDP over SOCKS5 as well as TCP, so WebRTC, QUIC and DNS go through the proxy instead of around it.

There is nothing to buy or switch on in the dashboard. Connect over SOCKS5 to proxy.sotaproxy.com with your Universal GEO access login, and if your software has a separate UDP option, turn it on. Country, city and sticky session suffixes in the login work for UDP the same way as for TCP.

HTTP mode carries TCP only. IPv4, ISP, IPv6 and mobile proxies work over TCP only. UDP traffic counts toward your gigabytes like any other traffic.

UDP settings

Host:      proxy.sotaproxy.com
Port:      10000
Protocol:  SOCKS5, with UDP enabled in the client
Login:     your Universal GEO access login
Password:  your password

The socks5h rule

With socks5 the hostname is resolved on your machine, so your own resolver sees every destination and geography can break when a nearby resolver returns a nearby server. With socks5h the name travels to us and resolves here.

Always use socks5h unless you have a specific reason not to. This single letter is the most common leak in scraping stacks.

Leaky and not leaky

# leaks the target list to your resolver
curl -x socks5://login:password@proxy.sotaproxy.com:10000 https://example.com

# resolves on our side
curl -x socks5h://login:password@proxy.sotaproxy.com:10000 https://example.com

# python needs the extra:  pip install requests[socks]

Library support at a glance

HTTP works everywhere without extra dependencies. SOCKS5 usually needs one, and the requirement is the most common reason a SOCKS setup fails on the first attempt.

What each stack needs

Python requests   pip install requests[socks], then socks5h://
Node              socks-proxy-agent for SOCKS, https-proxy-agent for HTTP
curl              built in, use socks5h:// for remote DNS
Scrapy            HTTP out of the box, SOCKS needs a custom downloader
Playwright        server field takes http:// or socks5://
Antidetect        pick HTTP or SOCKS5 in the profile proxy form