Loading...

Knowledge Base

Plesk Panel Inaccessible on Default Ports 8880/8443 on Linux VPS

Sometimes, the Plesk panel may not load on its default ports (8880 for HTTP and 8443 for HTTPS). If your browser cannot connect to these ports, follow the steps below to troubleshoot and fix the issue.


1. Check if the Ports Are Open in the Firewall

Run the following commands to check if the ports 8443 and 8880 are allowed in your server firewall:

root@IP:~# iptables -nL | grep 8443
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:8443

root@IP:~# iptables -nL | grep 8880
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:8880

If these rules are missing, add them using the following commands:

$ iptables -A INPUT -p tcp --dport 8443 -j ACCEPT
$ iptables -A INPUT -p tcp --dport 8880 -j ACCEPT
$ iptables-save

2. Verify if the Ports Are Listening

Use the netstat command to check if the ports are listening:

$ netstat -plan | grep 8443
$ netstat -plan | grep 8880

If the Plesk panel still does not load, check the detailed output:

root@IP:~# netstat -plna | grep 8880
tcp        0      0 0.0.0.0:8880        0.0.0.0:*          LISTEN      1419/config
tcp6       0      0 :::8880             :::*               LISTEN      1419/config

root@IP:~# netstat -plna | grep 8443
tcp        0      0 0.0.0.0:8443        0.0.0.0:*          LISTEN      1419/config
tcp6       0      0 :::8443             :::*               LISTEN      1419/config

The tcp6 entries indicate that IPv6 is enabled on the server, and the ports are listening on the TCP6 protocol.


3. Update the Configuration for IPv4 Connectivity

This issue often occurs after a Plesk version upgrade. To allow the Plesk panel to listen on IPv4 as well, edit the configuration file:

/etc/sw-cp-server/conf.d/ipv6_ports.inc

Update the file so that ports 8880 and 8443 listen for both IPv6 and IPv4:

root@IP:~# cat /etc/sw-cp-server/conf.d/ipv6_ports.inc
listen [::]:8443 ssl;
listen [::]:8880 ;

4. Restart the Plesk Panel Service

After updating the configuration, restart the sw-cp-server service:

$ service sw-cp-server restart

After this, the Plesk panel should be accessible on both ports 8880 and 8443 without issues.

Loading...