Many reasons are analyzed as follows:
1. Before the system using the network cable internal test no problem, at this time the error reported using the cell phone hotspot, the network IP can not be obtained.
2. The request path of the page does not point to the specified background service address: http://localhost : port number
3. Due to the caching mechanism of nginx, restart nginx and clean the browser’s cache:
stop command: nginx.exe -s stop;
Start command: start nginx;
4. The most serious problem is (key):
the previous nginx was not closed, but it was restarted, or this is: at that time, the CMD window was directly closed, thinking that it had been completely closed. In fact, the process is not closed at all.
As shown in the following figure:
if there are multiple processes, the front-end will visit the back-end and there will be multiple turns. If an error is reported, the process must be killed and nginx will be OK.
Tag Archives: An error occurred
Solutions for faithfully yours, nginx
Today, as always, I opened the web page. At first, there was nothing wrong with it, and then it suddenly appeared:
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
Is it a familiar mistake?
Check out the error page of nginx.
This 50x. Html is found to be the error on the web page.
Then check the port
through the command: netstat – tnlp to view the opened TCP port.
Found that the 9000 port PHP is not on.
Then restart the PHP service, and the problem is solved.