My Oracle Support Banner

How to Locate the Process that is Using a Network Address and Port Number in Solaris (Doc ID 1010187.1)

Last updated on FEBRUARY 21, 2023

Applies to:

Solaris Operating System - Version 8 2/04 U8 to 11.2 [Release 8.0 to 11.0]
All Platforms


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.



To view full details, 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 a vibrant support community of peers and Oracle experts.