PDA

View Full Version : Timeout when trying to reach an oracle database through a firewall...


Jonathan Bodrug
03-19-2004, 07:28 AM
Hello,

Here is the config:

- 1 web server inside a dmz, oracle client installed
- 1 oracle server on the lan

What is working:
If i put the webserver on the lan, i can reach the oracle server with
the net8 assistant correctly.

What is not working:
If the webserver is in the dmz i received a timeout (tns-12535
error)and the connexion test is unsuccessful...

What i tried:
- only 1521 open => does not work
- all ports open between the 2 machines => does not work

Is there a common solution to this problem ? It seems that lots of
people have the same when i search through the forums but i found no
answers...

Turkbear
03-19-2004, 08:17 AM
jbodrug@europ-assistance.com (Jonathan Bodrug) wrote:
Hello,Here is the config:- 1 web server inside a dmz, oracle client installed- 1 oracle server on the lanWhat is working:If i put the webserver on the lan, i can reach the oracle server withthe net8 assistant correctly.What is not working:If the webserver is in the dmz i received a timeout (tns-12535error)and the connexion test is unsuccessful...What i tried:- only 1521 open => does not work- all ports open between the 2 machines => does not workIs there a common solution to this problem ? It seems that lots ofpeople have the same when i search through the forums but i found noanswers...

What version of Oracle; The solution is dependent on that in many cases:

The concept is that the Listener ( usually on 1521) redirects communication to an unspecified port for all further
communication with the client, so it is not known in advance what port(s) to open ( besides, opening ports defeats the
purpose of a firewall)

Look into Oracle's Connection Manager or look at a parameter of ( I believe) Listener.ora called USE_SHARED_SOCKETS

Sybrand Bakker
03-19-2004, 10:12 AM
On Fri, 19 Mar 2004 10:17:05 -0600, Turkbear <john.g@dot.spamfree.com>
wrote:
Look into Oracle's Connection Manager or look at a parameter of ( I believe) Listener.ora called USE_SHARED_SOCKETS

read that *SQLNET.ORA* on the *SERVER SIDE*





--
Sybrand Bakker, Senior Oracle DBA

Turkbear
03-19-2004, 11:16 AM
Sybrand Bakker <gooiditweg@nospam.demon.nl> wrote:
On Fri, 19 Mar 2004 10:17:05 -0600, Turkbear <john.g@dot.spamfree.com>wrote:Look into Oracle's Connection Manager or look at a parameter of ( I believe) Listener.ora called USE_SHARED_SOCKETSread that *SQLNET.ORA* on the *SERVER SIDE*

Thanks for the catch, Sybrand..The docs make this a lot harder to find than most other Oracle stuff..


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service