Unable to connect on the local network to asp.net web API
I run it through Kestrel and access is available only through the computer on which the launch occurred, everything broke at the time of the attempt to publish to docker, before that it worked fine, so I decided to remove its support and everything broke. How can I fix local access, please tell me?
I wanted to try to run a docker inside the container, in the end nothing happened on the linux VM, then running in VS I noticed that access to the local network was gone, I deleted the docker from the project and the problem was not solved, it was not solved even after deleting the docker profile in launchSettings.json
.many will write that you need to run through kestrel and everything will work, I repeat, it didn't work for me
my problem was that I changed the db connection string in the process. Since my colleagues, like me, have a clone of the same system, one of the ip addresses was the same for everyone and I specified it, in connection with which the program tried to log into the local database on the device for all those who connected