Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Newbie: Problems to connect using port 1521
Port 1521 is monitored by Listener. When it "hears" a connection request
(from the client), it spawns (or if MTS, perhaps uses an existing)
dispatcher to handle the normal network "conversation" between client
and server. The dispatcher has to "talk" over another port (since 1521
is in use by Listener) ... so a "random" port is assigned for the
dispatcher. You can make it less "random" by using MTS or Connection
Manager.
Michael J. Moore wrote:
> You need to understand Oracle Net, formerly called Net8. This is like
> another layer above ( or under ) the TCP/IP stack. It use 1521 by default.
> You should not be trying to use Java to connect directly to this port.
>
> APP --->Net8 ----> tcpIP -----network-----> tcpIP---->NET8(1521)----->Oracle
> Instance
>
>
>
>
> "rigel" <f71_at_hotmail.com> wrote in message
> news:amobna$1na6t$1_at_salico.udc.es...
>
>>I have installed OracleI 9.0.1 over Red Hat Linux 7.2. >> >>I want to connect to the default database using scott/tiger user with
>>I tried to connect using port 1521 but the connection fails. I used the >>command "netstat -atup" and I saw that the process "ora_d000_test" uses
>>random number, for example 32777. Then I have tried to connect using this >>port and the connection was succesfull. My problem is that this port
>>when the database starts, and I want to connect using 1521 always. >> >>Thanks in advance. >> >>Francisco J. Nóvoa >> >>