Which IP for WhatsApp
WhatsApp ties accounts to a phone number and a code. Pick a static or rotating IP for business chats, set up a proxy and see what an IP cannot do.
Updated
curl -x http://USER:PASS@HOST:PORT https://ipinfo.io/json
Which ports to open for WhatsApp, why an IP list is the wrong tool, and what your firewall sees when WhatsApp runs through a proxy.
Searching for "WhatsApp server IP address list" mostly returns forum posts and company blogs. We could not find an official WhatsApp page that publishes server addresses, so we do not print a list here: a list nobody keeps up to date is how a rule that worked last year stops working.
What is documented comes from WhatsApp's own open-source proxy project. It says the client connects to port 443 by default, that the primary ports can be 80, 443 or 5222, and that media goes to *.whatsapp.net. Forum lists of extra ports for voice and video calls differ from each other and we could not check them against an official page, so we leave them out. If chats work but calls do not, test on another network before opening more ports.
| Item | What the project says | What to do in a rule |
|---|---|---|
| 443 | Encrypted web traffic; the client uses it by default and runs TLS on it | Allow outbound TCP 443 first |
| 5222 | Jabber-protocol traffic, described as the WhatsApp default | Allow outbound TCP 5222 if 443 alone does not work |
| 80 | Standard web traffic (HTTP) | Allow outbound TCP 80 if the network is restrictive |
| 587 / 7777 | *.whatsapp.net traffic including media, on the proxy server | Relevant if you run your own WhatsApp proxy; clients need the *.whatsapp.net hostname allowed |
Source: github.com/WhatsApp/proxy README and FAQ, read on 6 December 2026. The "What to do" column is our reading of those ports, not a statement from WhatsApp.
If your firewall or web filter can match names, allow *.whatsapp.net and test chats, photos and voice notes. The official project ties media traffic to that name, so a rule that opens only the chat ports can let text through and still fail on pictures.
If your device can only match IP addresses, accept that the rule needs a recheck whenever something stops working, and record the date you wrote it. A static IP rule is a snapshot, not a guarantee.
When WhatsApp traffic goes through an HTTP or SOCKS5 proxy set at the device or app level, the firewall on your side sees one connection: from your device to the proxy host and port (2222 for HTTP, 3333 for SOCKS5 on Proxy302). It does not need WhatsApp's addresses for that path; the proxy reaches WhatsApp from its own side. So the rule to write is "allow outbound TCP to the proxy HOST and PORT".
Do not confuse this with the proxy field inside the WhatsApp app. The official project says WhatsApp supports only TCP proxying and does not run through an HTTP proxy as an intermediary, so that field is meant for WhatsApp proxy servers. For an ordinary proxy login, set the proxy on the phone or computer instead.
On the same network, open WhatsApp with no proxy. If it works, the network allows WhatsApp and the problem is in the proxy path.
Expected result Chats load and a photo sends.
Run command 1 in the code block below. If it cannot connect, outbound 443 is blocked on that network.
Expected result A "succeeded" or "open" line.
Add outbound TCP 5222, then 80, one at a time, and retest after each. Stop at the first change that fixes it.
Run command 2 in the code block below with the HOST, PORT and login from My assets. A status code in the output means the proxy path works; the timeout and connection-refused cases are covered in the connection failed guide.
Once it connects, avoid switching the exit IP of a WhatsApp account from day to day. The account guide explains what to choose.
# Command 1: can this machine open outbound TCP 443 to WhatsApp Web?
nc -vz web.whatsapp.com 443
# Command 2: does the proxy path work? Prints an HTTP status code.
curl -sS -m 20 -o /dev/null -w "%{http_code}\n" -x http://LOGIN:PASSWORD@HOST:PORT https://web.whatsapp.comExample only: replace LOGIN, PASSWORD, HOST and PORT with the values in My assets. On Windows PowerShell use Test-NetConnection web.whatsapp.com -Port 443 and curl.exe.
For a WhatsApp account that you log in to every day, a static ISP IP in the country where you use the number keeps the exit steady. A static ISP IP costs US$0.50 for 1 day and US$7.99 for 30 days, about US$0.27 a day (7.99 ÷ 30), the same in every country. Which countries are in stock is shown on the order page. There is no free trial; the smallest purchase is one IP for one day.
Gateway ports are 2222 for HTTP and 3333 for SOCKS5. An IP is only an address: it does not decide what WhatsApp does with an account, and no IP guarantees an account is never restricted.
The official WhatsApp proxy project says the client connects to 443 by default and that the primary ports can be 80, 443 or 5222. We found no official list for calling ports.
We found no official page that does. The official project describes ports and the *.whatsapp.net name instead, so a name-based rule is safer than an address list.
The official project ties media to *.whatsapp.net. If a rule opens only the chat ports or only some addresses, text can pass while media fails. Allow the hostname and retest.
The official project says WhatsApp supports only TCP proxying and not an HTTP proxy as an intermediary, so that field is for WhatsApp proxy servers. Set an ordinary proxy on the phone or computer.
Outbound TCP from your device to the proxy HOST and PORT. The proxy then connects to WhatsApp from its own side.
Setup guides Proxy302 publishes on GitHub on the same topic:
Official documentation · Confirmed on:
Read on 6 December 2026: the proxy container maps ports 80, 443, 5222, 587 or 7777, 8080, 8443, 8222 and 8199; 587 or 7777 is described as "*.whatsapp.net traffic including media"; on adverse networks the project recommends exposing only 443 and 587 on the proxy endpoint.
This describes the WhatsApp proxy server project, not a full list of what the apps need for calls.
Official documentation · Confirmed on:
Read on 6 December 2026: the client connects to port 443 by default; "The primary ports WhatsApp uses can be 80, 443, or 5222"; port 443 on the proxy runs TLS; ports 80 and 5222 can be remapped; WhatsApp supports only TCP proxying and does not run through an HTTP proxy as an intermediary. The page names no server IP addresses.
Product observation · Confirmed on:
Static ISP per-IP lease prices (US$0.50 for 1 day, US$7.99 for 30 days), gateway ports (HTTP 2222, SOCKS5 3333) and no free trial, read from the product facts file on 6 December 2026.
Create an account, top up once, then pick rotating residential, static ISP or datacenter IPs and have one running in your browser within minutes.