On which is running the WebService. Like the one I can get in cmd.exe > ipconfig
:
What I would like to achieve is automatic IP configuration of Kestrel, like:
.UseKestrel(opts =>
{
opts.Listen(/*LocalIPv4ActiveAddress*/, 5000);
})
So I can switch my development machines with different active network interfaces (WiFi || Ethernet) and different local network IP addresses.
Connection.LocalIpAddress.ToString()
part.0.0.0.0
to listen to all interfaces, if this is supported by Kestrel.