What’s an IP address?

400 views

Do my computer and phone have the same IP address if they’re connected to the same wifi? If so, how do the websites distinguish my computer from my phone?

In: 5

9 Answers

Anonymous 0 Comments

> Do my computer and phone have the same IP address if they’re connected to the same wifi?

Not necessarily but they do have the same public IPv4 address most of the time these days due to the shortage of IPv4 addresses. Within the wi-fi network they don’t have the same address.

> If so, how do the websites distinguish my computer from my phone?

The same way they distinguish two browsers on your computer accessing the same website. Each outgoing request is sent with a unique source port number. When the website responds it copies incoming source port number to the outgoing destination port number. When the response packet reaches wi-fi router or computer they can deliver the packet to the right device and application by looking at the destination port number.

You are viewing 1 out of 9 answers, click here to view all answers.