问题
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