Hello,
This is a problem caused by your server's IPv6 not being able to work properly. It is recommended that you contact your server provider to check.
Or turn off IPv6
Temporarily close ipv6 and execute the command:
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
Permanent close ipv6
vi /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6=1
For the settings to take effect use:
sudo sysctl -p