c# - Test a wcf webservice from another PC on the same network -


i have created simple wcf webservice on visual studio 2010.

i run on asp.net development server.

i try call simple service local on browser using local url:

http://localhost:15021/myservice.svc/getdata/test 

that works , correct json result. tried on fiddler , working.

i call computer connected on same network.

i got local ipv4 cmd , tried replace localhost on other pc

http://10.0.0.14:15021/myservice.svc/getdata/test 

however getting error 502: connection failed

how can call services run on asp.net development server pc/mobile on same network?

thanks

same thing happened me. problem iis express, doesnt allow website accessible other machine on same network. visual studio deault uses iis express. wont able access , when using iis express. do?

install latest iis or try enabling installed iis using control panel> programs > turn windows features on or off > internet information services

after installing/enabling can start iis typing inetmgr in command prompt. once iis , running can use tutorial upload website:

tutorial host on iis


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -