How to close off external access to PostgreSQL database?

Hi,

I’m running a server from hetzner, and installed a PostgreSQL database within my cleavr setup. How do I close off access from outside to the database? I’m asking because I keep getting these warning messages from abuse@hetzner.com.

Any help is much appreciated.

1 Like

Hello @happykemper,

You can navigate to the server’s Services page, click on the three-dot menu next to PostgreSQL, and select Edit postgresql.conf .

Find the line listen_addresses = '*' and change * to localhost . Once done, click the Update button.

Back on the Services page, open the three-dot menu again and click Restart.

Please let us know if you continue receiving emails from Hetzner after applying these changes or if you have any questions or feedback.

1 Like