I am trying to connect to a DB2 Community Edition database on Windows using the IBM DB2 Data Management Console but I keep getting this error message:
HWCREP0011E: Failed to connect to the repository database. Exception java.net.ConnectException: Error opening socket to server localhost/127.0.0.1 on port 50,000 with message: Connection refused: connect. ERRORCODE=-4499, SQLSTATE=08001
I have tried adding the port 50000 (which seems to be the default for db2) to the firewall exceptions but that doesn't solve the problem.
Any idea how to fix this?