Doing local development on my IIS machine, I was previously using a static local ip of 192.168.0.100:542
. I recently had to factory reset my router and now I have 192.168.1.x
. I can access the local site using localhost:542
, but some AJAX requests and redirects are still being made to the old IP address.
I've tried clearing cache, clearing Chrome's DNS cache, doing ipconfig /flushdns
, and using an incognito window but it's still happening.
This happens because Google determines its users' location by cross-checking the location of where the IP address is with the geolocation data it has of devices that use that IP address.
This can be just a browser error, and to check that, we advise trying out a different web browser. In some instances, the issue can be related to cache, and you just need to clean it to fix the problem. If a certain website thinks you're in a different country, adjusting your location settings should fix the problem.
More ways to improve location accuracyReload your browser (such as Chrome, Firefox, or Safari). Check to make sure you have a strong internet connection. Double-check your browser's permission settings using the instructions above. Restart your computer.
This is because I had the old IP Address still set as my APP_URL
in .env
(Laravel).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With