how to find out which port is open on raspberry pi headless code example Example: ping raspberry pi ping raspberrypi.local