After 1 or 2 hours port will not in listening mode , shows shut down

Please use this template for troubleshooting questions.

My issue: After 1 or 2 hours port will not in listening mode , shows shut down

How I encountered the problem: stopped access the application

Solutions I’ve tried: restart

Version of NGINX or NGINX adjacent software (e.g. NGINX Gateway Fabric):

Deployment environment:UAT & PRD

Minimal NGINX config to reproduce your issue (preferably running on https://tech-playground.com/playgrounds/nginx for ease of debugging, and if not as a code block): (Tip → Run nginx -T to print your entire NGINX config to your terminal.)

NGINX access/error log: (Tip → You can usually find the logs in the /var/log/nginx directory.)

We could really iuse more information to help see what is going on. What do the logs say? What’s your config look like.

Please keep in mind that this is community-led support, not any professional support.

It’s possible to see this from several potential points, like resource limitations, process management or strange interactions with other components.

To expand on the information that could be helpful:

What is the precise NGINX version.
What is the NGINX configuration
Is this containerized (docker, K8s?)
Is the nginx process still running? (main and workers)
What does access.log and error.log say
Does netstat or ss show something else listening on the same port
What’s the system resources (as an OOM error can stop things)
What’s the proxied app?

There are likely others but it’s a brain dump start.

Please keep in mind that this is community-led support, not any professional support.

What is the precise NGINX version.nginx/1.28.0
What is the NGINX configuration -Configured on Windows
Is this containerized (docker, K8s?)- No
Is the nginx process still running? (main and workers)-YES
What does access.log and error.log say-Nothing
Does netstat or ss show something else listening on the same port -Port becomes disable during this time/Not listening
What’s the system resources (as an OOM error can stop things)-No
What’s the proxied app?- Proxied with java spring boot app.

It’s possibly a problem in the configs. However, you might also want to review the windows docs. nginx for Windows, which show this to be a beta version with some limitations.

And hopefully someone who knows more about NGINX than I can also chime in

My (very delayed) two cents here – this is not an NGINX issue. Something is wonky in your Windows network environment, and we don’t really have any Windows savvy folks on our end.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.