Гуглил и ничего не нашел в последнее время. Я нашел документы по UFW и побежал:
thomas@Westeros:~/git/heavyweight-software$ sudo ufw status verbose
[sudo] password for thomas:
Status: inactive
Так что я думаю, что UFW больше не работает. Я могу пропинговать свой компьютер, но не могу подключиться к нему через порт 4200 моего веб-сервера разработки. Также не могу найти никаких документов на сайте ubuntu.
Finally found the answer here: https://www.cyberciti.biz/faq/how-to-configure-firewall-with-ufw-on-ubuntu-20-04-lts/
The answer appears to be that ufw is disabled by default and there is a default policy in place that doesn't use that. So I ran:
sudo ufw enable
And then ran
sudo ufw allow 4200
now sudo ufw status verbose
returns me the information I wanted to see.
Additionally, https://stackoverflow.com/questions/43492354/how-to-allow-access-outside-localhost taught me to run ng serve --host 0.0.0.0
to serve my angular app outside of localhost.