1

While trying to setup XMCloud in local, mssql-1 container is build and is healthy. mssql-init container throws the below error

2023-03-05 11:12:01 Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Named Pipes Provider: Could not open a connection to SQL Server [53]. .
2023-03-05 11:12:01 Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login timeout expired.
2023-03-05 11:12:01 Sqlcmd: Error: Microsoft ODBC Driver 17 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..

However, I am able to access the mssql container instance from host ssms. I checked the mssql-init environment variable - sqlserver/sql admin(sa)/sa password in the terminal all seems right.

Has anyone faced a similar issue or can direct me how I can troubleshoot?

7
  • Try without VPN if you are using any.
    – Kamil C
    Commented Mar 5, 2023 at 20:14
  • Tried with VPN..without VPN..no luck
    – ayanpush
    Commented Mar 6, 2023 at 10:02
  • Have you has a chance to solve the issue? Commented Aug 29, 2023 at 14:14
  • I had to disable firewall Commented Sep 14, 2023 at 9:44
  • did you find a fix to this ? I am facing this locally ... Commented Oct 17, 2023 at 7:19

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.