View Full Version : List of servers
thomilla
5th June 2005, 18:51
How can I see what servers are running on my system, and on which port?
You could either use nmap on yourself or use the netstat command.
deedee
7th June 2005, 12:40
I'd run
netstat -tap
It will show a list with lines like this:
tcp 0 0 *:mysql *:* LISTEN 17735/mysqld
where mysql is the port. If you want to know the number of the port, run
grep mysql /etc/services
It'll show
mysql 3306/tcp # MySQL
mysql 3306/udp # MySQL
so you know the MySQL port is 3306.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.