I'm running nmap somesite.com
on my local machine and I get the following results:
Host is up (0.026s latency).
Not shown: 942 closed ports, 50 filtered ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
80/tcp open http
443/tcp open https
5060/tcp open sip
5500/tcp open hotline
8008/tcp open http
8010/tcp open xmpp
I then ssh into my aws instance and run the same command, but I consistently get:
Host is up (0.098s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
5000/tcp open upnp
5500/tcp open hotline
Both my local machine and server are running Ubuntu 16.04. I'm wondering why I would get such different results?