locked
Web Service running on port 80 required admin password RRS feed

  • Question

  • User333920299 posted

    Hi Experts,

    I have created a soap service using dotnet core SoapCore module.

    This service i am trying to run in the port 80. If i want to run service password is required.

    Is there any possibility to run service without providing admin password to run soap service service.

    Please share me snippet of code if possible.

    Thanks in advance,

    KK

    Wednesday, May 27, 2020 8:16 AM

Answers

All replies

  • User1120430333 posted

    If you made the Web service, then why did you implement password authentication in it? Why can't you remove the password autentication logic from the service?

    Wednesday, May 27, 2020 3:19 PM
  • User333920299 posted

    Thank you so much for your reply.

    The  Web service I created using .net core 3.1 in linux environment.

    if I try to launch webservice in port 80, Linux Ubuntu OS asking for the admin password.

    Is it possible to run web service in port 80 in Linux ubuntu environment without asking password?

    Or is there any other approach to launch web service in port 80 ?

    If yes, please provide code snippet.

    Thanks in advance.

    Thursday, June 4, 2020 6:59 AM
  • User-474980206 posted

    On Linux, any port under 1024 requires admin to access. Read this thread for possible solutions

    https://serverfault.com/questions/112795/how-to-run-a-server-on-port-80-as-a-normal-user-on-linux

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 4, 2020 2:30 PM