Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Please ask technical questions in the appropriate category. Thank you!

IO Error: The Network Adapter could not establish the connection

User_IQS4ZMar 13 2022

I am doing the activities of the course "Oracle Database 19c: SQL workshop) and I am asked to create a connection from SQL developer to the ora1 account (this count contains the schemas I need for the course) .
I write the following data as indicated to me in the practice:

Name: myconnection
username: ora1
password: xxxx (I hide the password)
hostname: localhost
port:1 521
service name: PDBORCL
When I test the connection , I get this error:
Status: IO Error: The Network Adapter could not establish the connection (CONNECTION_ID=R5V5/Nl/SUquPyzNoanDtg==)
On the course help, suggested me that I check the status of the listener,
$lsnrctl status
But if I type this command on my terminal, I get the follow error:
"lsnrtl" is not recognized as an internal or external command, program or executable batch file.
How can I fix this error?
Note: I have no previously installed any Oracle Database
Thanks in advance!

This post has been answered by thatJeffSmith-Oracle on Mar 13 2022
Jump to Answer
Comments
Post Details
Added on Mar 13 2022
8 comments
3,872 views