check what ports are open on my raspberry pi code example Example: raspberrypi open ports sudo ufw allow 9999