• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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