Running self-hosted OWIN Web API under non-admin account

前端 未结 4 1581
旧巷少年郎
旧巷少年郎 2020-12-03 06:43

Is it possible for a self-hosted OWIN Web API to run under a non-administrator account? I have already tried dozens of url reservations and nothing works. The service fail

4条回答
  •  無奈伤痛
    2020-12-03 07:10

    It looks like the problem was with the URL reservation. I didn't need one. If there is a URL reservation, it will just prevent the owin host from starting with the access denied error. Also, the default port for owin host is 5000. If there is a "dead" process that is still running on that port, it will block your service from starting. To check you can run netstat -a -b at the command prompt.

提交回复
热议问题