This technique works when you are chatting with that person. The first demand of operation is to close all of the website and Messengers that you are using, even clean History and delete Cookies as precaution. Now start chatting with that person.
The first thing you do is to open start->run->cmd.exe now in it type following command:
and wait and watch the foreign address will be the IP address