sudo ufw status
UFW STATUS
--------------
Shows you the status of your firewall and what ports are being allow from where. Below you see the L0 and L1 ports are opened and SSH. Please remember that you have Ubuntu OS firewall rules and then you have cloud based rules you should look into.
#sudo ufw status
Status: active
To Action From
-- ------ ----
22/tcp ALLOW Anywhere
9000/tcp ALLOW Anywhere
9001/tcp ALLOW Anywhere
9010/tcp ALLOW Anywhere
9011/tcp ALLOW Anywhere
No Comments