As mentioned in this Stackoverflow post, I'm having trouble connecting to "localhost": I get the error message that the connection gets refused.
As far as I know, when something happens to computer which he doesn't like, he puts a warning or error message in the event log.
Problem here is that the "regular" event logs don't say anything (Windows Logs Application, Security, Setup, System and Forwarded Events all don't say anything), and the other logs (Application and Services Logs) have a humongous number of subdirectories.
Where can I look for information on why the connection to "Localhost" might have been refused?
For your information, Docker has altered my C:\Windows\System32\Drivers\etc\hosts file and has added following entry:
# Added by Docker Desktop
10.1.xxx.yyy host.docker.internal
... where 10.1.xxx.yyy is the IPv4 address of my local computer.
The startup of the Docker program is described in the file LaunchSettings.json, which contains the following entry:
"DockerDevelopment": {
...
"launchUrl": "http://{ServiceHost}:5128/index.html",
"launchBrowser": true,
...
However, the entry ServiceHost is not to be found anywhere in the entire Visual Studio project.
In order to make ServiceHost to use host.docker.internal instead of localhost, I need to know where this is declared.
Where is that?