Quick answer
To use SocksNode residential proxies with Puppeteer, launch Chromium with the --proxy-server flag pointed at global.socksnode.com:9000 and call page.authenticate() with your generated username and password. Append tokens like -country-us to the username for geo targeting, and switch to port 10000 with a session token when you need the same IP across multiple pages.
Before you start
SocksNode offers residential proxies across 195+ countries, reachable over HTTP, HTTPS, and SOCKS5 with username/password authentication. Generate a username and password from the dashboard proxy generator; creating credentials is free and only traffic consumes your prepaid bandwidth (from 5 GB for $4.50, non-expiring on flexible plans).
Because Chromium passes proxy credentials separately, Puppeteer supplies them through page.authenticate() rather than embedding them in the URL.
Configure the proxy in Puppeteer
Point the browser at the gateway host and authenticate on the first page. Example:
The username token USERNAME-country-us requests a rotating US residential IP. Swap us for any supported ISO country code, or extend it with state, city, or ASN tokens for tighter targeting.
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch({
args: ['--proxy-server=http://global.socksnode.com:9000'],
});
const page = await browser.newPage();
await page.authenticate({
username: 'USERNAME-country-us',
password: 'PASSWORD',
});
await page.goto('https://api.ipify.org');Rotating vs sticky sessions
Rotating sessions assign a fresh residential IP on every request and use HTTP port 9000. They suit broad, parallel crawling where each page can come from a different exit.
Sticky sessions keep one IP for 1 minute up to 24 hours and use HTTP port 10000. Add a session and lifetime token, for example USERNAME-country-us-session-abc123-lifetime-30, to hold an IP for 30 minutes across a login or multi-step flow. Note that Chromium cannot authenticate SOCKS5, so use the HTTP ports with Puppeteer.
Target countries, states, and cities
Targeting is controlled entirely through username tokens: country for any of 195+ countries, plus state and city within the US, or ASN/ISP within a country. Only the username changes, so you can spin up many geo profiles from one credential set.
Always scrape lawfully, respect each site's terms of service, and stay within applicable law and rate limits.
See also
Frequently asked questions
Which port should I use with Puppeteer?
Use HTTP port 9000 for rotating IPs or 10000 for sticky IPs. Chromium does not support authenticated SOCKS5, so avoid ports 11000 and 12000 with Puppeteer.
How do I keep the same IP across several pages?
Use port 10000 and add a session token to the username, such as USERNAME-country-us-session-abc123-lifetime-30, to hold one residential IP for up to 24 hours.
Why am I getting HTTP 407 errors?
A 407 means proxy authentication failed. Confirm you called page.authenticate() with the exact username token and password from /dashboard/generator, before navigating.
Can I target a specific US city?
Yes. SocksNode supports US targeting down to state and city through additional username tokens, so you can request residential exits in a chosen city.
Does generating extra credentials cost bandwidth?
No. Generating credentials is free; only the traffic you route through the proxy consumes your prepaid bandwidth.


