raspi open port code example Example 1: raspberrypi open ports sudo ufw allow 9999 Example 2: raspberrypi open port sudo ufw allow portx