SUMMARY: Freeing a Port on Solaris.

From: Murtuza Bekhushi <>
Date: Thu May 02 2002 - 06:20:58 EDT
		lsof is the solution to this.  I downloaded lsof from,  did the make of lsof and ran the following

lsof -i:9030

	This give me the PID of the process which was holding the port.

Thanks to Following people for getting me the way to solution :

Stuart Whitby, Rahul Parasnis, Dan Lowe, Osama Ahmed, Joe Matusiewicz,
Benjamin Ritcey, Dana, Andrew Rotramel, Martynas Buozis, Ramiro Santos,
Douglas Palmer, John England, Hendrik Visage,  Ed Rolison.

		-----Original Message-----
		From: Murtuza Bekhushi
		Sent: Tuesday, April 30, 2002 7:17 PM
		Subject: Freeing a Port on Solaris.

		Hi all,
			I had some service brought up on a particular
port.   Now the process which brought up the services has gone defunct.
I am unable to find process id which has still held this port.  The
output of "netstat -a |grep 9030" is

		*.9030               *.*                0      0     0

			How can I make this port free ?
			I am using "SunOS 5.6 Generic_105181-23 sun4u
sparc SUNW,Ultra-80"

			Pls. help.

sunmanagers mailing list
Received on Thu May 2 07:01:47 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:42 EST