|
现在我允许了2个容器,一个跑mysql,一个跑了api接口, 他们在同一个 bridge 中, 容器之间可以相互ping同 但是api容器连不上mysql数据库,提示 A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 35 - An internal exception was caught)
有大佬知道是什么原因吗?怎么解决,已经被困扰1个星期了 |
|