If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Connect Time out

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-17-09, 07:35
FoKwame FoKwame is offline
Registered User
 
Join Date: Mar 2009
Posts: 41
Connect Time out

Dear all,

I needed an assistance in resolving a connection issue:

Platform : Win2003 R2
Database :Oracle 10g R2

Issue is:

Whenever I launch my PL/SQL to connect to my database it takes a long time and times out with the following error message:

ORA-12170: TNS: connect timeout occured

This happens when I assign Gatway IP Address to my PC in order to have internet access concurrently

However, whenever I remove the internet Gateway Address, PL/SQL is able to connect within split seconds to the database.

TNS and Listerner configurations have been checked thoroughly and I don't not think the error has to do with the TNS configuration.

I would therefore like to find out what it the course of this and if there is way to resolve this challenge inorder to be able to connect to internet and database simultanuously

Any assistance is much welcome

Thanks in Advance

Fo Kwame
Reply With Quote
  #2 (permalink)  
Old 07-17-09, 08:24
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,453
This has nothing to do with Oracle - it is a network configuration issue. You need to create a static route to your Oracle server. You should speak with your network administrator.
Reply With Quote
  #3 (permalink)  
Old 07-17-09, 12:28
FoKwame FoKwame is offline
Registered User
 
Join Date: Mar 2009
Posts: 41
Hi Nick Ivanov,

Am most grateful for your advise. I searched on how to do static IP route on windows and the issue is resolved.

This is what I did:

opened the file -- C:\WINDOWS\system32\drivers\etc\lmhost and
add the following line below:

<IP_Address_of_Server> <sever_name> #PRE

Im once again very grateful
Much Thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On