gpt4 book ai didi

azure - 是否可以使用 Azure 数据工厂中的数据流修改(插入/更新)本地 SQL 服务器

转载 作者:行者123 更新时间:2023-12-03 03:36:44 28 4
gpt4 key购买 nike

我需要使用 Azure 数据工厂中的数据流更新本地 SQL Server 数据库中的表

  1. 我有自托管集成运行时
  2. 基于此自托管运行时创建的链接服务
  3. 数据集连接工作正常

但是,当我在数据流中使用相同的数据集时,它会出现此错误 -

The TCP/IP connection to the host has failed. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.

如果我需要修改自托管集成运行时以自动解析 Azure 托管以连接本地 sql 服务器 - 对于本地 sql 服务器数据库角度,此操作的额外条件是什么(因为我尝试使用 autoresolve azure 托管运行时它给了我一个错误)?另外,如果 Azure 中需要修改任何内容,请告诉我。

最佳答案

  1. 打开 SQL Server 配置管理器,然后展开您尝试与自承载 IR 连接的 SQL Server 网络配置。
  2. 单击“InstanceName”的“协议(protocol)”,然后确保在右侧面板中启用“TCP/IP”并双击“TCP/IP”。
  3. 在“协议(protocol)”选项卡上,注意“全部监听”项目的值。
  4. 单击“IP 地址”选项卡:如果“全部监听”的值为"is",则此 SQL Server 实例的 TCP/IP 端口号为“IPAll”下的“TCP 动态端口”项的值。如果“全部监听”的值为“否”,则此 SQL Server 实例的 TCP/IP 端口号是特定 IP 地址的“TCP 动态端口”项的值。
  5. 确保 TCP 端口为 443
  6. 点击确定

注意:完成上述配置后请务必重新启动服务器。

引用:Firewall requirements for on-premises/private network

关于azure - 是否可以使用 Azure 数据工厂中的数据流修改(插入/更新)本地 SQL 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73069006/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com