Could be. If ufw has been enabled, I'd check that. https://wiki.ubuntu.com/UncomplicatedFirewall
https://help.ubuntu.com/community/UFW