Oracle listens on one port. It then tells you to connect to another and that's where it actually does the work from. Also, if you're running through a NAT or a proxy you're not going to be able to talk to Oracle through it unless you have a SQL*Net proxy built into the NAT box or proxy (and even then I'm not sure that proxies work anyway). I'd see if you can connect using the standard Oracle tools, if you can't get that setup then you're not going to get JDBC to work.
--mikej -=------ mike jackson [EMAIL PROTECTED] > -----Original Message----- > From: Brad Rhoads [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 28, 2003 2:25 PM > To: [EMAIL PROTECTED] > Subject: [OT] Oracle Connection Problem Due To Dynamic Port Numbers > > Here's a bit from our listener.ora. It appears that the jdbc driver may be > sending a sequential request number as the port, or something like that. > Why > isn't it just 1521? > > > listener.log:04-FEB-2002 16:49:30 * > (CONNECT_DATA=(SID=smoke)(CID=(PROGRAM=)(HOS > T=__jdbc__)(USER=oracle))) * > (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.200.11)(PORT=1 > 506)) * establish * smoke * 0 > listener.log:04-FEB-2002 16:49:30 * > (CONNECT_DATA=(SID=smoke)(CID=(PROGRAM=)(HOS > T=__jdbc__)(USER=oracle))) * > (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.200.11)(PORT=1 > 507)) * establish * smoke * 0 > > The different port numbers seem to be causing a problem with the firewall > at > one client site. Any suggestions? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
