开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜