Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can't connect to 19c docker container installed on Ubuntu (18.04) from Oracle SQL Developer

BilalMar 16 2021 — edited Mar 16 2021

Hi,
I installed the latest Oracle 19c container using the following command:
sudo docker run -dit --name orcl-docker -p 55555:1521 -e ORACLE_SID=ORCL -e ORACLE_PDB=ORCLPDB1 -v /home/big-deal/DockerOracleDatabases/dbs:/opt/oracle/oradata container-registry.oracle.com/database/enterprise
The container is created successfully. Then I tried to access the database using docker SQL through the following command:
Screen Shot 2021-03-16 at 16.16.28.pngBut when I try to connect from Oracle SQL developer, I receive the following error:
Screen Shot 2021-03-16 at 16.44.18.pngSaying IO Error.
I also tried the following options:
Screen Shot 2021-03-16 at 16.22.03.pngAnd finally added the following command to sqlnet.ora and restarted the listener.

tcp.validnode_checking = no

But nothing like connecting to the docker database.
Any idea of what might be wrong.
I will greatly appreciate your guidance.
Many Thanks and
Kind Regards,
Bilal

Comments
Post Details
Added on Mar 16 2021
3 comments
2,045 views