# nmap [hostname] Starting Nmap 6.47 ( http://nmap.org ) at 2017-03-27 15:05 JST Nmap scan report for [hostname] ([address]) Host is up (0.027s latency). rDNS record for [address]: ec2-52-199-107-23.ap-northeast-1.compute.amazonaws.com Not shown: 992 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 80/tcp open http 110/tcp open pop3 143/tcp open imap 993/tcp open imaps 995/tcp open pop3s 3306/tcp open mysql Nmap done: 1 IP address (1 host up) scanned in 0.46 seconds