open port in raspberry pi code example Example 1: raspberrypi open ports sudo ufw allow 9999 Example 2: raspberrypi open port sudo ufw allow portx