how to find port of raspberry pi code example Example 1: find ip address rpi with nmap nmap -sV -p 22 192.168.1.0/24 Example 2: raspi ipconfig ip addr show