且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在EC2上使用OWIN自托管Web API

更新时间:2023-02-15 21:41:06

使用基本地址http://+:1961/,并根据运行Windows owin服务器的Windows帐户,因为您不需要urlacl. 即:

Use base address http://+:1961/ and depending on which windows account you are running your owin server as you won't need the urlacl. ie:

  • 您正在使用local system帐户将owin服务器作为Windows服务运行,那么您将不需要urlacl.
  • 您在登录管理员帐户时正在命令提示符下运行owin服务器.
  • you're running your owin server as a windows service using the local system account then you won't need the urlacl.
  • you're running the owin server from the command prompt while logged in the administrator account.