1 First of all, start chatting with your friend whose IP address you want to get and make sure that all other apps and background process must be stopped. Now press Win+R of your keyboard.
2 Now type cmd and hit enter.
3 Now at the command prompt that appears type netstat -an and hit enter.
Note - before you run the command just make sure that you close all the existing browser to avoid confusion
4 Now note down the IP address of a person.
5 Now you need to scan that IP address to know the actual location of the person that you can check out from http://www.ip-adress.com/ip_tracer