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

checking for listening ports (Was: Mysql question.)



* Kenneth Dombrowski (kenneth@ylayali.net) [030915 10:53]:
> $ nmap localhost | grep mysql
> 
> just to verify that it is, in fact, listening.. it should be using port 
> 3306 by default

A better way to see listening ports is to use netstat -tln.  This will
show listening ports on all interfaces, and which interfaces they are
bound to.  Using nmap will generally give different results depending on
which interface you scan.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
http://www.sprintpcs-sucks.org/

Attachment: pgpsCiaNfx69b.pgp
Description: PGP signature


Reply to: