Protocols
HTTP, HTTPS, and SOCKS5 — which port to use and which tools support each.
Alienproxies.com supports HTTP, HTTPS, and SOCKS5. Use port 7777 for HTTP/HTTPS proxy traffic and port 7778 for SOCKS5.
HTTP / HTTPS proxy (port 7777)
The HTTP CONNECT tunnel method. Works for both plain HTTP and HTTPS targets.
# HTTP target
curl -x "http://user:[email protected]:7777" http://example.com
# HTTPS target (CONNECT tunnel)
curl -x "http://user:[email protected]:7777" https://example.com
SOCKS5 (port 7778)
SOCKS5 is protocol-agnostic — it forwards any TCP connection. Use socks5h:// to let the proxy resolve DNS (recommended to avoid leaking hostnames).
curl --proxy socks5h://user:[email protected]:7778 https://example.com
proxies = {
"http": "socks5h://user:[email protected]:7778",
"https": "socks5h://user:[email protected]:7778",
}
import requests
r = requests.get("https://example.com", proxies=proxies)
Tool compatibility
| Tool | HTTP proxy | SOCKS5 |
|---|---|---|
| curl | ✓ | ✓ |
| Python requests | ✓ | ✓ (with requests[socks]) |
| httpx | ✓ | ✓ |
| Node.js fetch | ✓ (via https-proxy-agent) | ✓ (via socks-proxy-agent) |
| Playwright | ✓ | ✓ |
| Puppeteer | ✓ | ✓ |
| Scrapy | ✓ | ✓ (via scrapy-rotating-proxies) |
| Go net/http | ✓ | ✓ (with golang.org/x/net/proxy) |
| Java HttpClient | ✓ | ✓ |
Which to use
HTTP proxy (7777) — use this for most browser automation and standard HTTP clients. All targeting options (country, session, etc.) work on both ports.
SOCKS5 (7778) — use this when your tool natively supports SOCKS5 and you want DNS resolution to happen at the exit node, which prevents DNS leaks and handles .onion-style routing correctly.