Sometimes I use “Cloudflare WARP” app in my MacBook. If I enable this app once and disable it, my http://localhost doesn’t work until I restart my laptop.
Here is the error message:
This site can’t be reached
The webpage at http://localhost:3000/ might be temporarily down or it may have moved permanently to a new web address.
Same issue today after a reboot.
Without any other changes apart from starting or stopping Cloudflare Warp, I can either access my localhost with it enabled, or not access localhost - either by toggling it off, or even quitting the app altogether. OSX 10.15.7
A reboot just reloads the app so it works then, but this anomaly has also made the Mac invisible to other devices on the network, like the Apple TV which is pretty inconvenient. Going to try uninstall and see if that helps
If (1) does not work. Don’t use loopback (localhost/127.0.0.1) address. Try to got you LAN IP instead. eg: ifconfig en0 inet| grep 'inet '|awk '{print $2}'
I’ve been having the same issue and it’s been driving me crazy for a month! and i couldn’t figure out what was happening! after enabling and then disabling warp, my steam games wouldn’t launch because they couldn’t connect to local steam client, i couldn’t use ssh tunnels (i could connect successfully but couldn’t use the localhost:port !), Docker engine wouldn’t start, …
the only solution was to reboot the device, OR connect to 1.1.1.1 only (without warp) and change the DNS protocol to TLS. this made everything back to normal but it’s still a rather big inconvenience!