How to Locate the Process that is Using a Network Address and Port Number in Solaris
Last updated on MARCH 23, 2018
Applies to:Solaris Operating System - Version 8 2/04 U8 to 11.2 [Release 8.0 to 11.0]
Sometimes the need arises to know the network port usage of a process running in Oracle Solaris.
The procedures outlined in this document can assist troubleshooting errors such as "could not bind to port" and "port (already) in use",
when a daemon or process attempts to use a network port that has already been claimed by another daemon or process.
It can be used also for security purpose when a customer responsible for controlling systems access wish to limit the number opened ports.
The customer may decide to turn off unused processes which open ports and thus limit the intrusion possibilities in the system.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms