From bcdd3147a156a5866f480bba009960d09a2fc998 Mon Sep 17 00:00:00 2001 From: moozzyk Date: Tue, 31 May 2016 18:55:29 -0700 Subject: [PATCH] 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 --- .../RequestTargetProcessingTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Microsoft.AspNetCore.Server.KestrelTests/RequestTargetProcessingTests.cs b/test/Microsoft.AspNetCore.Server.KestrelTests/RequestTargetProcessingTests.cs index ac2327cea6..8910e8f768 100644 --- a/test/Microsoft.AspNetCore.Server.KestrelTests/RequestTargetProcessingTests.cs +++ b/test/Microsoft.AspNetCore.Server.KestrelTests/RequestTargetProcessingTests.cs @@ -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()) {