Help me to fix “ERR_CONNECTION_REFUSED”
Hello, help me please!
I power off my droplet to do a Snapshot, but after that my site get:
ERR_CONNECTION_REFUSED
I’m using Ubuntu - LEMP - Nginx
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!
This question was answered by @gndo:
@Nayara - Not sure if the lack of the log file is the problem, but you could create an empty file:
## assuming you are logged in as root touch /var/log/nginx/mysitename/access.logThe intervening directory may not be present if it fails. Create and change ownership and permissions for nginx to use:
mkdir -p /var/log/nginx/mysitename ## chown and then chmod commands hereEdit - forgot to mention about checking your firewall. See if you can access your site while on your server using curl or wget.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.