Change port back to 8090 from 8443?

Hey all there just looking how one would revert a port change from 8443 back to the default of 8090. As I am migrating to a new hardware provider and using the remote backup feature does not work when the port has been changed. I’ve done the simple thing of Using the change port tab in the menus but that makes the panel inaccessible and I have to go into the config to revert the port change.

Before changing open port 8090 on your firewall.