You ought to get the output as working if the firewall is up and operating with the default configuration. Many Linux distributions have a firewalld as their firewall administration resolution, and it acts as a front-end controller