Linux:Nmap端口扫描

来自WHY42
brew install nmap 
nmap riguz.com

得到的结果如下:

$ nmap riguz.com

Starting Nmap 7.40 ( https://nmap.org ) at 2017-05-17 16:44 CST
Nmap scan report for riguz.com (35.163.49.161)
Host is up (0.42s latency).
rDNS record for 35.163.49.161: ec2-35-163-49-161.us-west-2.compute.amazonaws.com
Not shown: 996 filtered ports
PORT     STATE  SERVICE
22/tcp   open   ssh
80/tcp   open   http
443/tcp  open   https
3306/tcp closed mysql

Nmap done: 1 IP address (1 host up) scanned in 87.65 seconds