- Plesk for Linux
Websites are down and show
502 Bad gatewayerror.
Apache works on non-default port:
# netstat -tulpn | egrep "httpd|apache"
tcp 0 0 :::81 :::* LISTEN 19784/httpd
tcp 0 0 :::7081 :::* LISTEN 19784/httpd
Connect to the server using SSH.
Check the Apache configuration file and find out what port is being listened:
# grep "Listen" /etc/httpd/conf/httpd.conf | grep -v ^#
directive to 7080(in case if Nginx proxy is enabled) and in
# service httpd reload
213913245 - How to change ports of Apache running behind Nginx