I met a person in a chat room, we were complete strangers, no possible chance of us knowing each other and we didn't share any personal details whatsoever.
I emailed the person from a webmail based program like yahoo and the person revealed my actual location in their response to me.
I am kind of worried now.
I understand my IP gets sent in the html of the email header, but when I google my ip (with websites like geolocation) I get a complete different location than my actual one so I am wondering how this was achieved? How can I prevent it in the future? And is my safety in danger?
Thanks for your question thisisalex.
The location detected in various lookup sites will vary. For my personal IP they show places like New Jersey but that's the Corporate location of my ISP. Others will show me in Minneapolis, Ham Lake, Blaine and Hamel, Minnesota, none of which are correct but one is fairly close.
Your IP shows me that you are in the UK, possibly Blackpool or Brighton according to a couple of different lookup tools. This is not a precise location at all. The only way for someone to know your accurate location from your IP is through your ISP but that usually requires a legal subpena to get the information.
If you feel that your information has been compromised by some illegal means perhaps by someone that has a friend that works for the ISP, you should report it to the legal authorities and the ISP so they can investigate and put an end to the security breach. The ISP will have records of who specifically in their company has viewed which specific records and when so finding the person should be fairly easy.