I lost access to the CyberpanelPanel with port 8090

Hi good day.
I finish making a mistake, in the CyberPanel firewall, I accidentally deleted a rule, It was the “ID 1” (acces to panel :smile: ) , but in question, I can’t access “myipserver: 8090”. How could I fix this manually, via SSH?

I am occupying Google Cloud and Cyberpanel Instance Image with Ubuntu.

Another question, how to activate Gzip compression in Cyberpanel and OpenLiteSpeed? I use Wordpress from CMS. If you need any other information I will add it.

well finish solving the problem.
by adding a new rule manually in the firewall :smile:

firewall-cmd --zone=public --add-port=8090/tcp

thanks

having a similar issue where I mistakenly changed cyberpanel port to 80 and now i cant get
back into http://myip:8090… any pointers on changing the cyberpanel port itself?

I guess you would simply need to re-open 8090/tcp with firewall-cmd via SSH, then connect on CP and restore the permanent rule.

  • Open port 8090: firewall-cmd --zone=public --add-port=8090/tcp
  • Original rule values: panel | tcp | 0.0.0.0/0 | 8090

I’m not sure but here’s a hint: CyberPanel uses firewalld. Here are some articles:

@rudeboy Since port 80 is already used by OpenLiteSpeed (web server), to properly use CyberPanel on port 80 (http) or 443 (https) (without :8090), your need to configure a reverse proxy.
https://cyberpanel.net/blog/2018/12/25/how-to-remove-port-8090-from-cyberpanel/