Hey there! Since the server is in rescue mode, there isn't much we can recommend on the cPanel side of things. It would be best to reach out to your hosting provider or datacenter since they would have physical access to the machine that is necessary to resolve this. They may also be able to get SSH working so you can work normally.
If that isn't an option, you'll need to manually adjust the networking configuration on the machine, but that isn't something I can guide you through here since that is controlled by the operating system and not cPanel.