Hello Everyone,
Currently i try to establish a connection from a docker container running db2 management console to a docker db2 database.
Not sure if there are any solutions. googling for a few days now but i am unable to resolve the situation. I'm on mac osx catalina
what i did:
- get database up and running in docker. (
Docker Hub)
- get console up and running in docker (
Docker Hub)
- console is approachable in browser, i am able to log into the console with the username and password provided
- unable to connect to the database with default user "db2inst" and self chosen password.
the console spawns a warning:
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 (Connection refused). ERRORCODE=-4499, SQLSTATE=08001then i pulled my hair out and downloaded dbeaver. dbeaver has no issues connection to the dockerized database with the same credentials.
Does anyone have a solution how to connect from the db2 management console instead of dbeaver?
Kind regards,
Wouter
------------------------------
Wouter Visser
------------------------------
#Db2