AWS DMS复制实例中的端点连接失败错误:1020912

问题描述

创建一个与我的 AWS-DMS 实例关联的端点,以连接到本地 sql Server 数据库,但测试连接失败!!!

Test Endpoint Failed: Application-Status: 1020912,Application-Message: Failed to connect  Network error has occurred,Application-Detailed-Message: RetCode: sql_ERROR  sqlState: HYT00 NativeError: 0 Message: [unixODBC][Microsoft][ODBC Driver 17 for sql Server]Login timeout expired

解决方法

确保两者使用相同的 VPC 和安全组

使用同一个 VPC

Subnet groups 下为您的本地 Sql 使用相同的 VPC 创建新的子网组