what is default port for this service?
I a'm able to connect to the proxy server successfully outside of iran by either using the i'p address itself or i'p address:port
my question is, what port whatsapp choose to connect when we only connect using the i'p address by itself ?!
Depending on the scenario in which you utilize your proxy, the proxy container exposes multiple ports. The basic ports may include:
80: Standard web traffic (HTTP) 443: Standard web traffic, encrypted (HTTPS) 5222: Jabber protocol traffic (WhatsApp default) There are also ports configured which accept incoming proxy headers (version 1 or 2) on connections. If you have a network load balancer you can preserve the client IP address if you want.
8080: Standard web traffic (HTTP) with PROXY protocol expected
8443: Standard web traffic, encrypted (HTTPS) with PROXY protocol expected
8222: Jabber protocol traffic (WhatsApp default) with PROXY protocol expected
Additionally the container exposes a statistics port on :8199 which can be connected to directly with http://
80: Standard web traffic (HTTP)
By default the WhatsApp client will use 443
Updated in the FAQ, point # 4