Поделиться через


Disable public access

If you disable public access, connectivity to the server is only possible via private endpoints.

You must configure those private endpoints so that hosts that can route traffic to the Azure virtual network in which you inject the private endpoints, can access your Azure Database for PostgreSQL flexible server.

When public access is disabled, any firewall rules you created while public access was enabled, aren't enforced.

Also, any modifications made to the firewall rules are discarded.

Using the Azure portal:

  1. Select your Azure Database for PostgreSQL flexible server.

  2. In the resource menu, select Networking.

    Screenshot showing the Networking page.

  3. Clear the Allow public access to this resource through the internet using a public IP address checkbox.

    Screenshot showing how to disable public access.

  4. Select Save.

    Screenshot showing the Save button.

  5. A notification informs you that the changes are being applied.

    Screenshot showing a server whose network settings are being saved.

  6. Also, the status of the server changes to Updating.

    Screenshot showing that server status is Updating.

  7. When the process completes, a notification informs you that the changes were applied.

    Screenshot showing a server whose network settings were successfully saved.

  8. Кроме того, состояние сервера изменяется на Ready.

    Снимок экрана: состояние сервера готово.