Solaris Ports

Hi can someone Explain me about Solaris Ports orientation, Like which all ports OS uses and which all is left for applications?

You mean TCP/IP ports? Maybe 'netstat -a -i' ?

1 Like

The ephemeral port range on Solaris is 32768 through 65535

1 Like

http://www.iana.org/assignments/port-numbers

1 Like

Thanks a lot to itkamaraj ,the link is really useful...
but in case if a port is overlaped by 2 applications in a Solaris 10 box , like app A works on port 7397 -8045 and app B requires specific port 8031 . How to make port 8031 free for App B from solaris Point . Is there any command in solaris 10 to do so ?

need to find out which application and process is using that port

 
lsof | grep 8031

in the above command you can easily get the process id. From that you can find out the process which is using that port.

if you want that port.. you can kill the application which currently using that port.

its not possible to kill an application to get the port..as it may lead other abnormalies..any other way so tat App A wont use that port (8031) alone and let it free for App B.

Unless you have a way of configuring application A - no.