
October 23rd, 2009, 02:44 AM
|
|
Registered User
|
|
Join Date: Oct 2009
Posts: 1
Time spent in forums: 15 m 40 sec
Reputation Power: 0
|
|
Connection refused
Hello,
which may be the reason(s), if an 'Connection refused' error appears:
com.ibm.db2.jcc.c.DisconnectException: [ibm][db2][jcc][t4][2043][11550] Exception java.net.ConnectException: Error opening socket to server localhost/127.0.0.1 on port 62,012 with message: Connection refused: connect.
DB2 problem? Network? Firewall?
I tried to configure the JDBC connection to a DB2 9.5 database with the 'SQuirreL SQL Client' 3.0.1 and the JDBC driver db2jcc.jar.
I can access the database by SSH (via Putty) directly, but not with Squirrel. I set up in Putty a port forwarding to localhost:62012. The port forwarding works with other database connections.
Thomas Wiedmann
|