New answers tagged ports
1
The correct command to open that port would be
$ sudo ufw allow 3000 # from all hosts
$ sudo ufw allow from 192.168.1.0/24 to any port 3000 # just to some subnet hosts
Also you can resort to gufw, which simplifies a lot the firewall management.
Top 50 recent answers are included