# To see ports in use sudo lsof -i -P -n | grep LISTEN sudo netstat -tulpn | grep LISTEN
sudo ufw allow 1191/tcp