Question

NGINX active but not serving

On my droplet, I have installed Nginx server its active. On installing Openswan VPN Nginx server is running but not serving. Anyone who can assist on this issue?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @accountsb540b5883b9995e0d6

Are you sure Nginx is active? OpenSwan is probably setup to run on the same ports as Nginx, so only one of them can be active at the same time.

Can you run this command to list all services and their ports

sudo lsof -iTCP -sTCP:LISTEN -P

Also have a look in the Nginx error log

tail -20 /var/log/nginx/error.log