I am running an ASP.NET application in a Docker container. This application communicates with SQL Server Express which is running on the host. When I run this application, obviously it throws an error as it is unable to communicate with the SQL Server.
How do I make my application (which is running inside Docker) communicate with SQL Server running on the host or another machine?
SQL Server is accessible at HOST_MACHINE_NAME\SQLExpress on port 1433. This is what I am using in connection string in web.config but it is unable to communicate.