I have docker that running on kubernetes, the site is able to browse from the browser. When performing request API, that requires a connection to the database. The database is hosted on SQL Azure NOT on another docker.
I got this error
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.
How to troubleshoot and fixed the issue?