Summary: Kill a occupied port

From: Daniel Lee (daniel_lee@asia.com)
Date: Tue Oct 31 2000 - 07:31:44 CST


The consensus says to use the freeware utility "lsof". This utility find out
what processes are holding the open-port. The usage is as follow: lsof -i
tcp:80

Thanks for numerous help.
Daniel

------Original Message------
From: Daniel Lee <daniel_lee@asia.com>
To: "'sun-managers@sunmanagers.ececs.uc.edu'"
<sun-managers@sunmanagers.ececs.uc.edu>
Sent: October 27, 2000 12:48:44 PM GMT
Subject: Kill a occupied port

Folks,

I am in the midst of reconfiguring a web server. After the uninstall, I
notice in netstat -a that the port 80 for the web server is still being
occupied. I can not rebuild the web server since the port is still opened.
Is there a way to clear the port without rebooting the machine since I have
users still working on that server?

Thanks,
Daniel

______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:20 CDT