I cannot reach my asp.net core server hosted under iis in windows server 2016

tsalim13 1 Reputation point
2021-01-04T11:12:45.31+00:00

I cannot reach my asp.net core 2.1 server hosted under iis in windows server 2016 but it work fine when i launch the .exe

my webhostbuilder function

when i send request to my api nothing happen

public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseSerilog()
.UseKestrel()
.UseUrls("http://*:3000")
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>();

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
{count} votes