• 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 sw-cp-server not listening for ipv6

Balanca

New Pleskian
Hello everyone,

I can't seem to figure out why sw-cp-server service is not listening for ipv6 on port 8443. This is causing warnings when I try to upgrade Plesk.

# netstat -tulpn | grep 443
tcp 0 0 5.189.175.178:443 0.0.0.0:* LISTEN 1734/nginx: master
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 1110/sw-cp-server:
tcp6 0 0 2a11:c207:2012:6596:443 :::* LISTEN 1734/nginx: master

IPv6 is enabled in the system
# ifconfig -a | grep inet6
inet6 2a11:c207:2012:6596::1 prefixlen 64 scopeid 0x0<global>
inet6 ::1 prefixlen 128 scopeid 0x10<host>


Same thing applies to port 8880. Any help would be greatly appreciated.
 
What is content of file /etc/sw-cp-server/conf.d/ipv6_ports.inc ?
 
What is your Plesk version? On my Plesk Onyx 17.8 I see:

# cat /etc/sw-cp-server/conf.d/ipv6_ports.inc
listen [::]:8443 ipv6only=on ssl;
listen [::]:8880 ipv6only=on;
 
What is your Plesk version? On my Plesk Onyx 17.8 I see:

# cat /etc/sw-cp-server/conf.d/ipv6_ports.inc
listen [::]:8443 ipv6only=on ssl;
listen [::]:8880 ipv6only=on;

I eneded up creating this file and restarting sw-cp-server service. Then plesk upgrade went ok without any warnings.

Thanks for helping.
 
Back
Top