|
-
Oracle database connect error
I am unable to connect to an Oracle database which is on my machine using SQL* Plus while connected to my company network. I get the error (TNS-12535: TNS peration timed out). But when I remove the network cable, I am able to connect to the same Oracle database. I am also successfully able to TNSPING the Oracle database server with the network cable connected. I am not sure what network security settings need to be modified, if any.
Any help is highly appreciated.
-
Tell us about your TNSNAMES entry for your local database, is it pointing to localhost?
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
-
This was the entry in my TNSNAMES.ORA file
XEL9DB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = H1B-6F301-8Y49)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = xel9db)
)
)
But I am able to connect when I changed the entry to
XEL9DB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = xel9db)
)
)
PAVB, Thank you very very much for the hint
-
Cool! I'm glad it worked out.
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|