On Ubuntu Server, I try to open port 5432 for postgresql:
$ sudo ufw allow 5432/TCP
ERROR: Bad port
Postgresql is not currently running and netstat shows no processes currently using that port. What is going on here?
Ubuntu's ufw
command is case sensitive, the TCP should be lower case
sudo ufw allow 5432/tcp