Reputation: 1659
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.
Upvotes: 12
Views: 20554
Reputation: 1659
This is because I had the old IP Address still set as my APP_URL
in .env
(Laravel).
Upvotes: 31