I'm using AWS for my environment. I have 3 different subnets.
subnet1 - 172.16.1.0/24
Subnet2 - 172.16.2.0/24
Subnet3 - 172.16.3.0/24
I have 2 sql servers with always on in 172.16.1.0/24(Subnet1), Alwayson listener IP - 172.16.1.99 Port 1433
My problem is Im able to access the listener from Subnet1, But I can't able to access from subnet2 and 3.
Telnet is also not working.
Error Msg:
Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server : Named Pipes Provider: Could not open a connection to SQL Server [53]..
Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server : Login timeout expired.Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
Please help me to fix this.