3

I want to create localhost connection in Oracle SQL Developer tool my credentials are

username : SYSTEM
password : SYSTEM
Hostname :localhost or 127.0.0.1
port     : 1521
sid      : xe

When i connect i gives error The Network Adapter could not establish connection

5
  • Is the server running locally? Can you get a connection if you telnet localhost 1521? Commented Feb 26, 2014 at 9:27
  • how to make connection locally Commented Feb 26, 2014 at 9:28
  • 1
    check if the listener is running, e.g. use cmd -> tnsping XE Commented Feb 26, 2014 at 9:30
  • @simon it gives Failed to resolve name... what to do next Commented Feb 26, 2014 at 9:35
  • @user3331920 Please, show the content of your tnsnames.ora file. Commented Feb 26, 2014 at 10:56

2 Answers 2

1

The Network Adapter could not establish connection is caused because:

  1. The database host name or port number is wrong.
  2. The listener process (service) is not running. You can re-start it with the "lsnrctl start" command or on Windows by starting the listener service.
Sign up to request clarification or add additional context in comments.

Comments

1

you have either the wrong SQL Developer URL or you have a basic SQL*Net connectivity issue! This error is most likely caused by one of these factors:

  • You are using the wrong URL

  • The wrong port number or IP address (or DNS host name) was used

  • The listener is not configured properly

  • The listener process (service) is not running. You can re-start it with the "lsnrctl start" command or on Windows by starting the listener service.

For a step by step checklist, see the notes on troubleshooting an Oracle connection problem.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.