Skip to content
sessionsdocs

2026-11-11 · 5 min read

Sticky proxy sessions explained

How lifetime + session tokens keep the same exit IP, which ports to use, and common mistakes.

A sticky session asks the gateway to prefer the same exit IP for a period you define (lifetime) under a session id you choose.

Lifetime is minutes. Residential and Rotating Datacenter sticky lines use ports 10000 and 12000 and append -lifetime-10-session-{id}. Premium stays on 8082 and 1082 and appends +session={id}+time=10.

Premium Residential on rs.hasproxy.com uses HTTP 8082 and SOCKS5 1082. Residential and Rotating Datacenter use rotating HTTP 9000 / SOCKS5 11000 and sticky HTTP 10000 / SOCKS5 12000. Unlimited uses port 32123 for both protocols on the IP issued for that plan.

Pick a random session id per logical browser profile. Reusing the same id across unrelated jobs can couple their IP identity in ways you do not want.

If the sticky IP drops before lifetime ends, the pool may rotate — treat stickiness as best-effort, and handle re-auth in your client.

Ready to try it?

Create an account, buy GB, and validate with the free checker.