Closed SoumayaMauthoorMOJ closed 1 year ago
All fixed - I should have used the service name instead!
I did face the similar error while connecting using java drivers. It worked after using following format of conn string
Driver : oracle.jdbc.OracleDriver
Working Connection String: jdbc:oracle:thin:@localhost:1521/XEPDB1
I was using this format : jdbc:oracle:thin:@localhost:1521:XEPDB1
I have created a docker container using the following script:
I can connect to the database after exec'ing into the container:
However I can't connect to the database from the host. I have tried setting the host to localhost, 127.0.0.1 and I get the following error message:
Any thoughts?