Default port changed and no access to CyberPanel anymore

Hi
I changed the default port of CP and now there is no access to my CP
I cheek this : /etc/ssh/sshd_config but there is no information on this file ! jus few line was uncomment
Would someone please tell me how to fix that?
Thanks

Login to SSH and then enter this command:

sudo systemctl stop firewalld

And then try cyberpanel login

After you are able to access cyberpanel, add your new port number to firewall whitelist. Never change port number without adding it in firewall first.

4 Likes