Fixing "Error -4092 EACCES permission denied" in tests

A test is trying to bind to port 80 which fails if IIS is running on the machine
This commit is contained in:
moozzyk 2016-05-31 18:55:29 -07:00
parent 0753f06c28
commit bcdd3147a1
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Server.KestrelTests
context.Response.Headers["Content-Length"] = new[] { "11" };
await context.Response.WriteAsync("Hello World");
}, testContext, "http://127.0.0.1/\u0041\u030A"))
}, testContext, "http://127.0.0.1:0/\u0041\u030A"))
{
using (var connection = server.CreateConnection())
{