Report this

What is the reason for this report?

NGINX active but not serving

Posted on April 19, 2017

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?



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.