netstat -l gives me this:
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:mysql *:* LISTEN
tcp 0 0 *:www *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 1119 @/com/ubuntu/upstart
unix 2 [ ACC ] STREAM LISTENING 3201 /var/run/mysqld/mysqld.sock
so that means my server is only listening on the mysql, http and ssh ports. When then did it give me those other ports as open when I did an nmap from a foreign machine?
Bookmarks