I have a SQL Server running in a EC2 instance. I created a replication instance in DMS. I created a Source Endpoint in DMS pointing to the sql server instance. The Test of the endpoint fails with this error:
Failed to connect Network error has occurred RetCode: SQL_ERROR SqlState: HYT00 NativeError: 0 Message: [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired ODBC general error.
EC2 instance, replication instance is in the same AZ and same VPC. The security group is wide open to all ports and sources.
Concerns I have is: What is the "server name" I should give in the endpoint? I tried these: windows server name, server-name/instance-name, EC2 public IP, public-ip/instance-name. But nothing worked.
UserId/Password: I created a user id/password through the SSMS, and I gave those credentials in the endpoint. I made sure the userid has access to the database.
And I made sure that the server is with both windows and sql server logins.