Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: TCP/IP Port for the listener
As Mr. Schnaider points out, you need to have a good reason to do what I
described.
Example: A compelling need to run two different versions of Oracle SQLNET .
I can't think of any other examples.
If you don't have a need, just setup a single listener to handle both instances. If you have Oracle 8 for NT, try using the Net8 Assistant (not the same as easy config).
Here is a sample listener file for two instances running on NT:
# C:\ORANT\NET80\ADMIN\LISTENER.ORA Configuration
File:C:\orant\net80\admin\listener.ora
# Generated by Oracle Net8 Assistant
PASSWORDS_LISTENER= (oracle)
LISTENER =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = datarx_1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = oem) (ORACLE_HOME = \orant) (SID_NAME = oem)
(GLOBAL_DBNAME = whd) (ORACLE_HOME = \orant) (SID_NAME = whd)
Now you might need a different sqlnet config, so make sure that you read the sqlnet documentation. If you have a CSI # for silver support, call oracle for help if you cannot find the proper documentation (hint: check for the help on CD if you don't have paper).
SCott
Scott Cote wrote:
> I know that you can setup sqlnet so that two listeners can run on the same
> host.
>
>
>
>> > -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> > Hi, Is there a way to make the listener listen on two different TCP/IP port
> > for two different instances (SID) installed on the same machine ? ( so each
> > instance will have a port for itself )
> >
> > Thanks
> >
![]() |
![]() |