how to locate which port is connected to the raspi code example Example: find ip address rpi with nmap nmap -sV -p 22 192.168.1.0/24