From c6b934f71402c819e1c4a06f43e673e7b9f95ef7 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Tue, 18 May 2021 10:07:11 +0300 Subject: [PATCH] use 1000 port --- _1C.Gateway/Program.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/_1C.Gateway/Program.cs b/_1C.Gateway/Program.cs index 4c59297..52121e6 100644 --- a/_1C.Gateway/Program.cs +++ b/_1C.Gateway/Program.cs @@ -1,11 +1,5 @@ using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; namespace _1C.Gateway { @@ -21,6 +15,7 @@ namespace _1C.Gateway .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); + webBuilder.UseKestrel(options => { options.ListenAnyIP(1000); }); }); } }