致命:服务器未配置为允许ipv6连接。 [英] FATAL: Server is not configured to allow ipv6 connections.

查看:163
本文介绍了致命:服务器未配置为允许ipv6连接。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法从我的VNet中的任何虚拟机连接到我的新的Azure数据库for PostgreSQL服务器。我已经使用了来自Linux VM的  psql &我在Windows
VM上安装了 PgAdmin4 v2 .1 ,并且在尝试连接时都返回相同的错误,致命:  ;服务器未配置为允许ipv6连接。  我甚至在我的一个Linux服务器上禁用IPv6以查看是否可以解决问题,并且它确实没有

I am unable to connect to my new Azure Database for PostgreSQL server from any VM in my VNet. I have used psql from a linux VM and I've installed PgAdmin4 v2.1 on a windows VM and both return the same error when trying to connect, FATAL:  Server is not configured to allow ipv6 connections. I even went as far as to disable IPv6 on one of my linux servers to see if that would fix things and it did not.

我有允许访问Azure服务 设置为
ON
,我还列出了我的VM的公共IP 。没有区别。

I have the Allow access to Azure services set to ON and I have also white listed the public IP of my VM. No difference.

这对我来说非常困惑,因为我可以从本地PC以及portal.azure.com上的Azure Cloud Shell连接而没有问题。

This is quite perplexing to me as I can connect without issue from my local PC as well as from Azure Cloud Shell on portal.azure.com.

如果有人有任何想法,我很乐意听到。

If anyone has any ideas, I'd love to hear them.

谢谢,

Aaron

推荐答案

Aaron,

Aaron,

晚上好。很抱歉,您收到此错误并花时间进行故障排除。此错误表示您无法连接到数据库服务,因为已启用VNET服务端点。 "Microsoft.SQL"服务标签为子网上的所有Azure数据库服务启用VNET服务
端点流量:Azure SQL数据库,托管实例,Azure数据仓库和用于MySQL和PostgreSQL的Azure数据库。如果配置为ON,则子网上的所有数据库服务都会收到VNET服务端点流量。 Azure Database for MySQL或PostgreSQL尚不支持VNET
服务端点。要解决这个问题:

Good evening. I am sorry you received this error and spent time troubleshooting. This error indicates that you cannot connect to the database service because VNET Service Endpoints is enabled. The "Microsoft.SQL" service tag enables VNET Service Endpoint traffic for all Azure Database services on a subnet: Azure SQL DB, Managed Instance, Azure Data Warehouse and Azure Database for MySQL and PostgreSQL. If configured to ON all database services on the subnet receive VNET Service Endpoint traffic. VNET Service Endpoints are not yet supported for Azure Database for MySQL or PostgreSQL. To work around this:


  1. 移动客户端 到一个子网,其中Microsoft.SQL的VNET服务端点是
    未启用
  2. 关闭服务端点,或
  3. 我可以通过获取您的订阅ID和服务器名称将Azure数据库列入白名单以获取PostgreSQL和MySQL服务,因为此功能可在私人预览中使用

如果您想尝试#3,可以发送电子邮件至mark.bolz@microsoft.com,我可以与您合作,让您进入私人预览。

If you would like to try #3 you can email me at mark.bolz@microsoft.com and I can work with you to get you into the private preview.


我的最好,

马克


这篇关于致命:服务器未配置为允许ipv6连接。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆