Let’s start the discussion about sudo ufw status Status return inactive in following methods.
ERROR : sudo ufw status Status: inactive
UFW is configured by default to refuse all incoming connections while allowing all outgoing connections. This means that anyone attempting to connect to your cloud server will be unable to do so, whereas any application running on the server will be able to communicate with the outside world.
Run the below command to solve the issue.
sudo ufw enable
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : How to check gnome version in ubuntu terminal