[CentOS] how tell what process has port 22

Ray Van Dolson rayvd at digitalpath.net
Thu Mar 23 05:52:06 UTC 2006

On Thu, Mar 23, 2006 at 12:42:27AM -0500, Jerry Geis wrote:
> >Jerry Geis wrote:
> >>/ I had trouble with the update to 4.3.
> />>/
> />>/ How do I tell what program that is and stop it?
> />>/
> />Personal favorite way:
> ># /sbin/fuser -v 22/tcp
> Looks like there really is no port conflict - my laptop does the same thing
> and the commands suggested return no program using the port on my desktop 
> (messed up box).
> It works on my laptop with sshd running. 
> Actuall sshd does RUN. however when I try to connect it is saying 
> "connection closed".
> I have ran system-config-securitylevel and have ssh enabled. I have 
> rebooted...
> I cannot get sshd to allow me to connect.
> httpd still wont start. I see no entries in messages other than httpd 
> failed.
> I dont know what else to do/try. THanks for any suggestion.

Is this something SELinux could be causing?  It generally annoys me so I
turn it off :)


More information about the CentOS mailing list