Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
cannot connect to database using sql developer — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

cannot connect to database using sql developer

Received Response
32
Views
9
Comments
edited Jul 12, 2017 7:00AM in Oracle Cloud Infrastructure - General 9 comments

Summary

cannot connect to database using sql developer

Content

I create an one node database in BMC and can successfully use sqlplus to connect to this db using the instructions https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Tasks/connectingDB.htm .

However, I cannot connect to it using sql developer.

I created a ssh tunnel and it can connect to the instance:

ssh -L 9999:localhost:1521 [email protected]{database_public_ip}

I got "channel 3: open failed: connect failed: Connection refused" when connecting from sql developer using:

username: sysdba (also tried "sys")

password: my password set when creating this db

hostname: localhost

port:9999

service name: {ORACLE_UNIQUE_NAME}.{DOMAIN NAME}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!