• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved IPv6 address connect() failed (111: Connection refused) while connecting to upstream

TomE

Basic Pleskian
Server operating system version
Ubuntu
Plesk version and microupdate number
18.0.52
Hello all,

I have a problem with ngnix in connection with ipv6 addresses. All visitors run into an error 502 bad gateway. In the logfile can always find the following

2023-04-28 18:35:27 Error 2001:4dd6:502:0:7096:ee2f:251e:21a3 1290#0: *190 connect() failed (111: Connection refused) while connecting to upstream nginx error

Strangely, this only affects visitors with ipv6, no problem with ipv4.

Does anyone have a tip for me?

Thanks and greetings
Tom
 
Do you have the Plesk Firewall installed and enabled? If so, what happens if you (temporarily) disable the Firewall?
 
Hi Kaspar,

thanks for the tip, you are right that was it. I installed fail2ban and had an error in a jail. After I deactivated the one everything runs fine.

Thank you very much!
Tom
 
Back
Top