Does WhatsApp disclose the sender's IP address? Is it possible to get it by running netstat -a or via Wireshark?

  • We need a little bit more clarification here: who are you referring to as the "sender"? Is this a message you're receiving from another person, something you're sending yourself, or something that someone in your local network is sending?
    – Nic Barker
    Commented Aug 29, 2015 at 6:53
  • Sender is someone who send me a message. Sender and receiver are in distinct networks.
    – user69377
    Commented Aug 29, 2015 at 7:04
  • 1
    whatsapp.com/legal seems to describe their usage of data. Did you read it? Commented Aug 29, 2015 at 17:15

3 Answers 3


WhatsApp uses a client/server architecture based on Jabber (XMPP).

For the recipient(s) to see your IP addresses, the application will have to include your IP address in the metadata of the message. But this has no functional role in the design of such an application.

Your packet capture will likely show IP addresses belonging to WhatsApp(or Facebook) and maybe a CDN company like Akamai that stores media.

  • 2
    It seems calls may reveal your IP address Commented Sep 19, 2017 at 8:52
  • -1 answer is misleading, since it ignores that peer to peer calling exists and claiming there is no possible way for your IP address to be disclosed to a contact
    – Luc
    Commented Aug 7, 2022 at 15:56

Short answer : No. Apart from possibly VoIP calls (from some limited testing the client appeared to perform some reachability tests and connects directly if it can). Mobile networks often use NAT so you often don't have a unique public IP anyway (WiFi would be the only concern).

Long answer : The messaging protocol is documented here and does not contain any IP addresses, it contains the telephone number of the sender to identify the user. Even file transfers are downloading from a HTTPS/TLS server owned by What'sApp. VoIP calls however appear to be able to go directly P2P if the network is open enough which would then reveal your IP. Additionally when on a mobile network you will most likely be going through a NAT so you don't have a public IP address that uniquely identifies you for your IP address to be of concern.

  • 1
    Video and audio calls in WhatsApp are direct and they do reveal the IP of the parties (often behind NAT but still).
    – kravietz
    Commented May 18, 2017 at 11:21
  • 1
    Yes but if behind carrier NAT your "leaked" IP address is still going to be a proxy. WiFi phone/video calls over What'sApp would be my concern. Agreed I wasn't clear in my answer above. Even then it may rely on the user accepting the call for the connection data to be leaked. Commented May 19, 2017 at 14:53

As WhatsApp isn't a peer to peer application , in order for this to occur WhatsApp would have to be logging the sender's IP address and attaching it to the message object delivered to the recipient. This has massive privacy and security implications and I sincerely doubt they would be doing this.

You must log in to answer this question.