Hello, I have ufw enabled, how to make it accept connections for a postgres server (5432) on the internet, only to the ip 18.104.22.168, I have already tried this: sudo ufw allow from 22.214.171.124 port 5432 sudo ufw allow from 126.96.36.199/32 port 5432 sudo ufw allow proto tcp from 188.8.131.52 port 5432
but nothing works, what could be the cause?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.