[vite] http proxy error

created at 06-09-2022 views: 142

problem track

When starting the project, no error was reported, but when I jumped to the route in the page, the following error occurred in the terminal:

[vite] http proxy error


At first I thought that the computer had turned on the network proxy, but after setting it up, it still reported an error.

After researching for a long time, I found that it was the hotspot of the mobile phone that opened the firewall, restricting the permission to access other pages.

So I switched to other wifi, and the error was successfully resolved.

created at:06-09-2022
edited at: 06-09-2022: