Hosting WebAPI using OWIN not working when adding the add the firewall allowed apps

血红的双手。 提交于 2020-04-30 06:33:05

问题


I have a ASP.net web api OWIN based self-host application running Windows Service.

I set the base address to `http://hostname.domainName:8099' and this app is running fine for the machine where I am hosting this application.

Now from another network machine this url is NOT accessible. The solution I tried is adding an inbound rule for port 8099 and it's working fine. :)

Now I came to know on 2nd approach that I can add the executable .exe file to the list of allowed apps in Windows Firewall on the server where it was installed, but this technique is NOT working. Could someone explain why?

Hosting WebAPI using OWIN in a windows service

来源:https://stackoverflow.com/questions/61343301/hosting-webapi-using-owin-not-working-when-adding-the-add-the-firewall-allowed-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!