rpi open port code example
Example 1: raspberrypi open port
sudo ufw allow portx
Example 2: open ports on RPI
netstat --tcp --listening --programs --numeric
sudo ufw allow portx
netstat --tcp --listening --programs --numeric