And any other Linux distribution using firewalld.
firewall-cmd --zone=public --add-port=3000/tcp --permanent firewall-cmd --reload