If you’re sure the information provided to connect to the database is correct, the next step is to check your internet service provider (ISP). Some ISPs enforce firewall rules which block you to connect with you database with a specificc port. If that’s not the case, make sure you’re allowed to access the Red Hat server.