Re: Finding ports and services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim Holmes wrote:
> I am trying to figure out how to tell if something is blocking or
> occupying the default MySQL port
> 
> I do not have telnet installed, so the trick of 
> 
> telnet srvfs-01:3306 will not work
> 
> I need to find out whats going on and blocking this port, as well, in a
> broader sense, I need to begin to develop some network troubleshooting
> tools for Linux,  If someone can point me to the appropriate references
> etc, I would be most grateful

Here are two ways (you want to be superuser (root) for this):

lsof -i tcp:3306
netstat -plan | grep -w 3306

So take a look at lsof and netstat.


-- 
Sjoerd Mullender

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux