Windows 10 with all latest Windows Update. No commercial anti-virus/malware or firewall installed. Running Windows Defender out-of-the-box.
Visual Studio 2022 with all latest updates.
Docker Desktop for Windows will all latest updates.
Postman with all latest updates.
I have a Visual Studio 2022 ASP.NET Core Web API project that's enabled for Docker.
I Start Debugging and I see in Docker Desktop For Windows that a container is started.
49155:443
49156:80
In Windows PowerShell I can successfully test network connectivity :
Test-NetConnection localhost -Port 49155
ComputerName : localhost
RemoteAddress : ::1
RemotePort : 49155
InterfaceAlias : Loopback Pseudo-Interface 1
SourceAddress : ::1
TcpTestSucceeded : True
However if I send a request via Postman it's unable to connect.
GET https://localhost:49155/api/stocks/get
Error: Client network socket disconnected before secure TLS connection was established
I'm not on a VPN and I'm not using a proxy.
Start > Internet Options > Connections > LAN Settings > proxy server unchecked
Postman Settings : all proxy checkboxes unchecked, SSL Certificate Verification set to off.