Port number [message #388325] |
Tue, 24 February 2009 05:59 |
rakeshramm
Messages: 175 Registered: September 2006 Location: Oracle4u.com
|
Senior Member |
|
|
Is there any way to know the port number of a particular instance from the database.
Thanks
|
|
|
|
Re: Port number [message #388336 is a reply to message #388325] |
Tue, 24 February 2009 06:33 |
rakeshramm
Messages: 175 Registered: September 2006 Location: Oracle4u.com
|
Senior Member |
|
|
In this script i will get port number ;but i want to obtain port number individually .How can i get it
This will not suuport in 9i only from 10 g
select D.LISTENER from SYS.V_$DISPATCHER_CONFIG d
Please help
Thanks in Advance
[Updated on: Tue, 24 February 2009 06:35] Report message to a moderator
|
|
|
|
|
Re: Port number [message #388350 is a reply to message #388347] |
Tue, 24 February 2009 07:27 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
You could use
from the command line.
I don't know if it makes any sense to try to get the port number form inside SQL, since then you would have to already be connected to the database, which you can't really do when you don't have the port number?
Or what is the exact scenario you are having?
[Updated on: Tue, 24 February 2009 07:29] Report message to a moderator
|
|
|
|
Re: Port number [message #388396 is a reply to message #388325] |
Tue, 24 February 2009 10:21 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
>Is there any way to know the port number of a particular instance from the database.
Instances do NOT have port numbers; but listener do.
I could be mistaken, but I am unaware that the "port number" is stored or contained with the DB; because the DB does not care about any port number.
|
|
|