sudo nmap -PS -p 22,80 192.168.1.69
result:
Starting Nmap 6.40 ( http://nmap.org ) at 2016-07-08 01:28 BST Nmap scan report for peter-laptop-1 (192.168.1.69) Host is up (0.00010s latency). PORT STATE SERVICE 22/tcp closed ssh 80/tcp open http Nmap done: 1 IP address (1 host up) scanned in 1.07 seconds