A place to share your Knowledge….

Find out the Country (Location) of the person you are chatting with.


If you are chatting with a person on Yahoo Messenger, do you know how to find the Location of the person you are chatting with? You can use a simple command and some googling to find out the location of the person you are chatting with.


When ever you use the Internet, in fact any network, the communication should happen between 2 Computers which are uniquely identified by 2 IP Address. But in most cases these IP Address might not be unique for your Computer but unique for your ISP. Simply speaking the router at your ISP is connected to the Internet. The connection between your computer and your ISP is a local network. Your ISP Routers acts as the middle man is making the Internet requests on your behalf and getting the Internet results back to your machine. So you can in most cases trace back an internet connection to the ISP, i.e. to the Country, State, City and ISP.


When ever you chat with a person using Yahoo Messenger your messages are sent to a Yahoo Server and the Server relays the messages to the person you the chatting with. So if you find the IP Address in such a scenario you will find the IP Address of the Server but not of the person who is chatting with you. Yahoo Messenger uses P2p Technology when you transfer a file from your system to the other persons system. So when you find out the IP Address of the Destination Computer when you do a Yahoo File Transfer you can actually find out the IP of the other person and hence the location.


When you are trying to find out the Location of the person chatting with you, you should make him accept a file transfer request, in this way a connection would be established between your computer and his computer. Remember to send a file which is at least 3-4 MB in size so that you have some time to capture the active connections. Once he accepts and the file transfer starts, open command prompt and type the command netstat –n, this would give active TCP Connections on each Port.


C:\Documents and Settings\User Name>netstat –n


Active Connections


  Proto  Local Address          Foreign Address        State







C:\Documents and Settings\User Name>


The out put of netstat –n command would be something similar to the above. From the above list you need to filter the Foreign Address filed to get the IP Address of the Person chatting with you. When you are trying this close all Internet Applications like Messengers and File Sharing application and close all browser windows. Then you would have very few results and you can easily filter the IP Addresses.


You can use the Wiki link http://en.wikipedia.org/wiki/Netstat to find more about the Netstat command.


You can use the Wiki link http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers to filter the foreign address based on port numbers.


Once you find the IP Address you can go a site like http://tools.whois.net/whoisbyip/  to find who is of that IP Address. Whois basically gives details like the address of registration, company name and contact details.


To find your own IP Address you can use the command ipconfig /all.


If you need any further clarification please get back to me.

For more blogs of Technology check my current blog at www.sunilsaripalli.com



Author: Sunil Saripalli

I am Sunil...working as information security officer....i am into computers since my Degree...i used to Teach Hardware and Networking and assemble and sell computers and network solutions. After degree i started my first job in a US Based Company worked for 4 years in Support Functions. Got a chance to work as Team Lead in another US Based Company and worked there for a year and a bit later shifted to Citi due to higher degree of challenges offered in larger environments like citi....i belive Knowledge is power and i would love to share it....i am sure i will make this blog a very useful place for cyber gurus......

24 thoughts on “Find out the Country (Location) of the person you are chatting with.

  1. just curious, using netstat to obtain the list of ip addresses, those ip addresses are not the ip addresses of the people whom i’m talking to? i suspect they are the IP of the messaging server? but they are kinda near?

  2. If you have read my post i said to initiate a file transfer before using the netstat command. If you are using the netstat command while chatting on messenger u would get only the chat servers address. But when you initiate a file transfer a connection would be made between ur comp and the comp at the other end. If he is using a Public IP u can trace to him, or you can trace to the Public IP of the ISP he is using.

  3. Hi i have a doubt that without using file transfer can’t we detect other person’s ip address.bcoz wen i am chatting with other persons one fellow is coming and harrassing me.how he knows my id.i didnt give him my id?but suddemly he is coming in the chat conversation(wen i do with others).is this possible?please give me reply.

  4. the ip address of the comp can be located unless the file transfer is made,but if only the conversation is done and web cam is used then can the person be located?
    please reply

  5. Hi,
    I would appreciate if you can tell me a method to find out the location of a person by using an email received from that person.

  6. hi there how can i find out the person location when i’m chatting by skype?

  7. http://lehliumania2.wordpress.com/lehliu-mania/ this is the blog that i want to find owner ip can you help me, only the ip i want( contact me at liviu_cikiu2000@yahoo.com)

  8. sir,

    how to find ip address of a blog and the the person created it?

  9. can we sent some file 2 one’s pc ,if we know the ip address of that?

  10. hi sunil
    i dont know how we can fillter foreign addresses

  11. when i type nestat -n command in command prompt, i receive the message that ‘nestat’ is not recognised as the external or internal command, operable program or batch file. why it is so and how can i run the nestat command from my pc to find the ip address of a person whom i am chatting with?

  12. Hi, i was chatting with some groups suddenly 1 fellow from foreign started chatting with me. but he is not a member of that group.

    Plz reply me

    • hi i want to ask you that if i am using facebook and intract to other person via message can i find his location plz reply

  13. Hello Sir ,

    I am chetan and if i have a Dynamic IP address of my friend’s PC then what can i do with my Friend’s PC and How??

    Please Send me in my Email ID:


  14. hi…….
    i did the same i send a 8mb file to one using yahoo messenger and after than i used this command netstat -n and got list of ips, but i m much confused which is his ip …..
    i tried alot but cant find which is that specefic ip i m trying to find …
    pls help me ,……


  15. I Think No One Active Here Any More. ??????????

  16. Because of you in rooms of this blog. That’s all I can say. You most unspoken for away obtain made this blog into something thats visual acuity rift and important. You unmistakably redo so much definite to the hit the deck, youve covered so numerous bases. Abstention accoutrements from this corner of the internet. Again, failure you germane after this blog.”

  17. Can we find the location of a person by simply enter their yahoo id?

  18. i want to know this is from silviadiarra2005@yahoo.com

  19. i want to know if my frd is using the yahoo id or not….i don’t have number …..he never replied to my msg…how can we know if id is in use or put aside plz reply me

  20. Hi – I use a Apple Macbook computer how can I find the location of someone I’m chatting to in messenger with the mac or through and email they send me.

  21. how can I find out where he is talking from while we are chating on IM location he is at

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s