Forum Discussion
Ashuda
Altostratus
3 years agoNGINX - 502 Bad Gateway
Hi everyone I have an application running successfully for almost couple of years. But suddenly I am getting the below error. The configuration files are untouched. After then only I tried updating ...
Ashuda
Altostratus
3 years agoHi Daniel_Wolf
Thank you very much for the reply. In my first level of troubleshooting, I don't see any bugs or service getting failed from the back-end. Regarding the below mentioned points
- High load on the server
- Service port of backend service blocked
I can check whether the service port is blocked from my end. But I have few questions.
- How can we confirm if there is high load on server in NGINX ?
- Is there any chance that my server IP/Port getting blocked by NGINX since it acts a reverse proxy ?
- Apart from NGINX config file. Do I need to check anything on NGINX side ?
Daniel_Wolf
MVP
3 years agoSince your config file says C:\nginx\, I guess you are running NGINX on a Windows box.
Just take a look at Task Manager to see what processes are there and how much CPU / memory is consumed.
Check that you can access the backend (http://127.0.0.1:4446) from the browser.
Check Windows firewall rules.