I added the following section in project.json.
project.json
\"commands\": { \"run\": \"run server.urls=http://localhost:8082\", \"web\": \"Microsof
Use following one line of code .UseUrls("http://*:80") in Program.csThus changing .UseStartup() to.UseStartup() .UseUrls("http://*:80")
.UseUrls("http://*:80")
Program.cs
.UseStartup()
.UseStartup() .UseUrls("http://*:80")