React to hosting change

- Kestrel binds to ipv4 by default

Fixes #1432
This commit is contained in:
David Fowler 2017-03-02 23:09:13 -08:00
parent 4d7c6ff69f
commit 4533383612
1 changed files with 2 additions and 2 deletions

View File

@ -371,8 +371,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
var dataset = new TheoryData<string, Func<IServerAddressesFeature, string[]>>();
// Default host and port
dataset.Add(null, _ => new[] { "http://127.0.0.1:5000/", "http://[::1]:5000/" });
dataset.Add(string.Empty, _ => new[] { "http://127.0.0.1:5000/", "http://[::1]:5000/" });
dataset.Add(null, _ => new[] { "http://127.0.0.1:5000/", /*"http://[::1]:5000/"*/ });
dataset.Add(string.Empty, _ => new[] { "http://127.0.0.1:5000/", /*"http://[::1]:5000/"*/ });
// Static ports
var port = GetNextPort();