postgresql - Cannot connect to port 5432 locally even though it is
https://serverfault.com/questions/1044977/cannot-connect-to-port-5432-locally-even-though-it-is-allowed-by-ufw
WEBDec 4, 2020 · Ask Question. Asked 3 years, 3 months ago. Modified 3 years, 3 months ago. Viewed 2k times. 0. I'm trying to setup my server so that port 5432 (Postgres) is accessible only from localhost. So I've denied everything, and added back port 5432, however I cannot connect to it. Here is my UFW config: $ sudo ufw status verbose. Status: active.
DA: 16 PA: 90 MOZ Rank: 14