Host wcf service
I can access my WCF service typing
http://localhost:1592/TourService.svc/GetPoints
in browser.
However I can't access my service if I put开发者_如何学JAVA my IP address instead "localhost".
What should I do to make my service hosted on my PC and accessible from other computers?
I created an application in IIS Services and wrote a path to my WCFservice, but it had no effect. It's first time for me when I need to make service "global", so I don't know how to do it
Thanks!
You are currently hosting under the development web service (Cassini) which doesn't accept off machine connections. You will need to host in IIS by creating an application and pointing it to the physical directory where the .svc file lives
There is a "How To" for IIS hosting here
精彩评论