none
dotnet core web api website run with port 80 RRS feed

  • Question

  • Dear Experts,

    How to run an .net core web api project with port 80 as default. If we want to run in port 80, does the app need to run with administrator privilege. Is it possible to run without admin privilege.

    I have one service running with port 80. From one more application wanted to run port 80 service. how can i do that with out admin priviliage.

    help me with snippet of code.

    Thanks in advance.

    Regards,

    Raj


    • Edited by RaviRaju Friday, May 22, 2020 8:23 AM
    • Moved by CoolDadTx Saturday, May 23, 2020 2:43 PM ASP.NET related
    Friday, May 22, 2020 7:01 AM

All replies

  • For me, I just install nginx and have it forward requests to corresponding docker containers, each listening on different port.
    Friday, May 22, 2020 10:15 AM
  • When you publish/deploy the WebAPI program to IIS is when you configure the TCP port it will use. There is plenty of online documentation on how to publish/deploy a WebAPI solution to IIS.

    There is a WebAPI forum in ASP.NET forums.

    http://forums.asp.net/

     
    Friday, May 22, 2020 2:08 PM
  • Please post questions related to hosting aspnetcore apps in the ASP.NET forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Saturday, May 23, 2020 2:43 PM