DB2 jdbc connection error Connection refused. ERRORCODE=-4499, SQLSTATE=08001

I have a new DB2 server (v10.5.0.3), and I can connect to the database locally just fine. When trying to connect from a remote server using JDBC I am getting the “Connection refused. ERRORCODE=-4499, SQLSTATE=08001” error. Based on information found here https://www-304.ibm.com/support/docview.wss?uid=swg21403644 I have confirmed that and with these JDBC connection values I have verified that the … Read more

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

So, you have a com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failurejava.net.ConnectException: Connection refused I’m quoting from this answer which also contains a step-by-step MySQL+JDBC tutorial: If you get a SQLException: Connection refused or Connection timed out or a MySQL specific CommunicationsException: Communications link failure, then it means that the DB isn’t reachable at all. This can have one or more of the following causes: IP … Read more

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

So, you have a com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failurejava.net.ConnectException: Connection refused I’m quoting from this answer which also contains a step-by-step MySQL+JDBC tutorial: If you get a SQLException: Connection refused or Connection timed out or a MySQL specific CommunicationsException: Communications link failure, then it means that the DB isn’t reachable at all. This can have one or more of the following causes: IP … Read more