- Plesk Onyx for Linux
- Plesk for Linux
Opening a website results in the following error:
Proxy mode is enabled under Plesk > Domains > example.com > Apache & Nginx Settings.
/var/www/vhosts/example.com/logs/proxy_error_logthe following record can be found:
CONFIG_TEXT: [error] 31160#0: *35 connect() failed (111: Connection refused) while connecting to upstream, client: 203.0.113.2, server: example.com, request: "GET /dev/ HTTP/1.1", upstream:
There is no processes listening on 80 port:
# netstat -tunalp | grep :80
Nginx service is not running.
Start nginx service under Plesk > Tools & Settings > Services Management > Reverse Proxy Server (nginx) :
Alternatively, nginx can be started via the command-line interface:
Connect to the server via SSH;
Run the following command:
# systemctl start nginx
# service nginx start