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?

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

0

Your Answer

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