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