openvpn port code example Example 1: ubuntu open port sudo ufw allow 1191/tcp Example 2: lsof port $ lsof -i :port # ex. lsof -i :3000