Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Port number setting to use w/ jdbc8.1.6 thin driver?
hi john
unitl now i have not worked with oracle 8i, but in oracle 8 you have the following syntax:
jdbc:oracle:thin:@hostname:port_of_the_listener:SID
where the hostname is the name of the db host, the port_of_the_listener is
NORMALLY 1521
and the SID ist the instance name of the db. so 1521 is your portnumber.
by the way, have you started the listener on your db host
thomas
Inquisitor wrote:
> Hi All ...
>
> I'm attempting to open up a connection using jdbc w/ the Oracle 8.16
> thin driver, and am currently receiving
>
> "The Network Adapter could not establish the connection"
>
> I must admit that I'm a bit 'clueless' as to what to enter for the port
> number setting ...
> Has anyone come across this problem? ... or knows how to determine what
> DB
> belongs to what port number?
>
> Thanks for any assistance!
>
> John
Received on Wed Oct 13 1999 - 05:05:41 CDT