How to change the port 8443 port for HTTPS and 8880 port for HTTP for the Plesk interface for Linux?
Warning: For many systems, Plesk must be accessible on the default ports. Port 8443 is used by external management and provisioning systems (Odin Service Automation, OBA-S, Customer & Business Manager) to communicate with Plesk, while port 8880 is required by Web Presence Builder and for integration with Virtuozzo containers offline management services.
Warning: Migration manager does not work with custom Plesk ports. In case custom ports are set to Plesk, migration between two Plesk panels will fail.
Warning: This article is meant to change Plesk ports to other non-standard ports. To change the Plesk port to standard HTTPS, refer to How to make Plesk interface accessible over a hostname without entering the port number.
Connect to the server using SSH.
Use any text editor to change the ports in
listen 8443 ssl;
listen 127.0.0.1:8880 default_server;
Do the same for
listen [::]:8443 ipv6only=on ssl;
listen [::]:8880 ipv6only=on;
Change ports in
Restart sw-cp-server and sw-engine in order to apply the changes:
# service sw-cp-server restart
# service sw-engine restart
Note: Make sure the new ports specified are open in firewalls, both local and intermediate. See the article for details on firewall rules management in Plesk.