Hi, I changed my port number from default 8090 to 7017. Everything was fine, but few days back I tried to login my server via SSH. So, I was getting error, then I delete SSH key from my CyberPanel, Now I can access SSH but Cyberpanel Dashboard page not working. “This site can’t be reached”
Error message: HTTPSConnectionPool(host=‘XX.XXX.XX.185’, port=7017): Max retries exceeded with url: /cloudAPI/ (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0x7f326709b880>: Failed to establish a new connection: [Errno 113] No route to host’))
edit it using your SSH
by typing
cd /usr/local/lscp/conf and press enter
the type: dir then press enter
it will show you a list of files we are going to edit the file with the name bind.conf
so type: nano bind.conf
the nano editor will open just change the port to 8090 and save it by pressing control X and yes to make changes.
the reboot the server by typing reboot. and you should be good to go.