The self hosted Web API worked really well. We were able to post the information from the website and process the request. In just a few hours I had off loaded work from my website to my application server.
However, once I deployed the self hosted windows service to my app server it would not run.
I had the correct URL and port on both the website and the application.
After doing some research I found that you need to register you domain with windows, or your request will be blocked.
Below is the syntax to register you url from the command line in windows
netsh http add urlacl url=http://+:9000/ user="Users"
Make sure you specify the correct port and user
No comments:
Post a Comment