Nam*_*mux 5 postgresql azure amazon-web-services foreign-data-wrapper
我正在尝试使用来自 Azure DB for PostgreSQL 实例的 PostgreSQL 外部数据包装器 (postgres_fdw) 扩展。如 Azure DB for PostgreSQL 中所述,应支持外部数据包装器:https : //docs.microsoft.com/en-us/azure/postgresql/concepts-extensions
我设法为用户创建了服务器和映射,但是当我尝试导入表或架构时,出现以下错误:
ERROR: could not connect to server "<server with public hostname on AWS>"
DETAIL: could not translate host name "<server with public hostname on AWS>" to address: Unknown host
Run Code Online (Sandbox Code Playgroud)
当用公共 IP 替换主机名时,我得到以下信息:
ERROR: could not connect to server "<SERVER NAME>"
DETAIL: could not connect to server: Network is down (0x00002742/10050)
Is the server running on host "<public IP of the server" and accepting
TCP/IP connections on port 5432?
Run Code Online (Sandbox Code Playgroud)
在 Azure DB for PostgreSQL 实例的防火墙选项中,我已经有了从 0.0.0.0 开始到 255.255.255.255 结束的 AllowAllIps 规则。是否还有其他配置可以访问 Azure、DNS 或防火墙配置之外的服务器?
对此并不完全确定,但前几天我们试图做类似的事情,并偶然发现了这句话(有点令人沮丧):
“目前,不支持来自 Azure Database for PostgreSQL 的出站连接,但与其他 Azure Database for PostgreSQL 服务器的连接除外。”
资料来源:https ://learn.microsoft.com/en-us/azure/postgresql/concepts-extensions#dblink-and-postgres_fdw
| 归档时间: |
|
| 查看次数: |
717 次 |
| 最近记录: |