Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello
iam triing to create new localhost connection but always got this error:

SQL
status failure test failed io exception the network adapter could not establish the connection

my userName:Hibernate == password
port=1251
hostname=127.0.0.1
SID=orcl
so what is happening and how i solved it
Posted

1 solution

Hi Hamzah1,
Your port number was wrong. For Oracle connection you should connect with the port=1521. Hope this will help you.

Regards,
Bluesathish
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900