natemcmaster / dotnet-serve

Simple command-line HTTPS server for the .NET Core CLI

Home Page:https://nuget.org/packages/dotnet-serve/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.0.0.0 doesn't work on Windows

shanselman opened this issue · comments

0.0.0.0 doesn't work on Windows

It's more commonly use on macOS and Windows and is the equivalent of System.Net.IPAddress.Any, i.e. bind to any network interface on the local machine. In 0.2.1, I updated --open-browser to translate IPAny to "localhost" and open that instead.

https://www.nuget.org/packages/dotnet-serve/0.2.1