Yes we can know the geographic location by using the ipaddress but it sometimes stops for those who are behind proxy so check that using google

geoiplocation