Containers networking between linux and windows, same host windows pc

Hello, I’ve been reading a lot of posts around and trying different solutions, but I am still unable to have two containers (one linux and one windows) talking each other in the same host.

Linux container is a SQL server, in the bridge network. Windows container is a dotnet 4.8 web app, in the nat network.

Sql port 1433 is mapped on same port and server is reachable from host pc, but not from the windows container, either as localhost:1433 or (the internal ip address of the sql container).

can anybody help in this problem ?
thanks Max

Localhost within a container is always within the container, not in the host.

If you DB port is exposed on the host, then you need to use your host IP - but not localhost.