Say two computers are using same wireless network,
so if I go and see there IP through site like whatismyip.com , it comes out to be same for both.
However if I try to connect through the IP that comes in ipconfig which are different for both of them, ServerSocket does not get connection from client.
That means they seem to be not connected that way.