Localhost cannot access the local server, but the local area network address can access it.

is doing front-end page development. The
project is packaged through gulp, and the server is used to open the web page with browser-sync native.
can generally be accessed through localhost plus port.
but now opening localhost, will jump to a page where http://10.108.67.46/ logs in to the router.
can be accessed normally through local area network ip or 127.0.0.1

here is a question arrangement I did

clipboard.png


1. Personally, it doesn't matter whether localhost can be used or not
2. You can first check the local hosts settings, localhost to resolve to 127.0.0.1
3. Learn about docker, why does the development environment need to do so many things?
4. Disconnect the network cable and try


see if the hosts file under disk C parses the localhost to 127.0.0.1


is the reason why the cache was not cleared when the connection to the agent failed.

Menu