Editar

Compartilhar via


Enable public access

If you enable public access, connectivity to the server is also possible via private endpoints.

With public access enabled, you can also configure firewall rules to allow connections originating from specific IP addresses, or from any Azure service.

When you enable public access, any firewall rules that already existed last time the server was configured with enabled public access are enforced again.

Using the Azure portal:

  1. Select your Azure Database for PostgreSQL flexible server.

  2. In the resource menu, select Overview.

    Screenshot showing the Overview page.

  3. The status of the server must be Available, for the Networking menu option to be enabled.

    Screenshot showing where in the Overview page you can find the status of the server.

  4. If the status of the server isn't Available, the Networking option is disabled.

    Screenshot showing that Networking menu is disabled when status of server isn't Available.

Note

Any attempt to configure the networking settings of a server whose status is other than available, would fail with an error.

  1. In the resource menu, select Networking.

    Screenshot showing the Networking page.

  2. Select the Allow public access to this resource through the internet using a public IP address checkbox.

    Screenshot showing how to enable public access.

  3. Select Save.

    Screenshot showing the Save button.

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

    Screenshot showing a server whose network settings are being saved.

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

    Screenshot showing that server status is Updating.

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

    Screenshot showing a server whose network settings were successfully saved.

  7. Also, the status of the server changes to Available.

    Screenshot showing that server status is Available.