themaxx32000
New Pleskian
- Server operating system version
- Ubuntu 22.04
- Plesk version and microupdate number
- 18.0.60
- Ubuntu 22.04 on ARM
- Fresh install with restored backup on a new machine (new IP)
- all Websites and their Webmail-Subdomains throw 502`s by nginx
- disabling nginx-proxying fixes the Websites but not webmail (as it is always using apache)
- proxy_error_log shows connect() failed (111: Connection refused) while connecting to upstream, client for each request
note: each request is sent from nginx to apache using the servers external ip, i.e. https://w.x.y.z:7081 and not https://127.0.0.1:7081
- using curl via ssh locally on throws a curl: (7) Failed to connect to W.X.Y.Z port 7081 after 0 ms: Connection refused
- checking apaches listening ports shows that it is listening only on 127.0.0.1:7081 and 127.0.0.1:7080
- modifying /etc/nginx/plesk.conf.d/webmails/sample.com_webmail.conf 's proxy_pass rule from the servers external ip to 127.0.0.1 also fixes webmail
What is wrong here?
- Fresh install with restored backup on a new machine (new IP)
- all Websites and their Webmail-Subdomains throw 502`s by nginx
- disabling nginx-proxying fixes the Websites but not webmail (as it is always using apache)
- proxy_error_log shows connect() failed (111: Connection refused) while connecting to upstream, client for each request
note: each request is sent from nginx to apache using the servers external ip, i.e. https://w.x.y.z:7081 and not https://127.0.0.1:7081
- using curl via ssh locally on throws a curl: (7) Failed to connect to W.X.Y.Z port 7081 after 0 ms: Connection refused
- checking apaches listening ports shows that it is listening only on 127.0.0.1:7081 and 127.0.0.1:7080
- modifying /etc/nginx/plesk.conf.d/webmails/sample.com_webmail.conf 's proxy_pass rule from the servers external ip to 127.0.0.1 also fixes webmail
What is wrong here?