i am working on end to end project , need to build the android UI and the web services.
while building the webservice via .NET i wanted to test them via my device connected to my usb.
i noticed i failed to access the IISEXpress ,only localhost works.
i couldn't use localhost on my url , i get an error.
one of the solution is to use my ip (in the local domain 10.0.0.5),
but i get access error HTTP/1.1 400 Bad Request
i follow this link
http://stackoverflow.com/questions/5433786/configure-iis-express-for-external-access-to-vs2010-project/5438322#5438322
and this
http://stackoverflow.com/questions/7877523/how-to-allow-iisexpress-to-listen-internet
and i decided to change the next file (win 7)
%userprofile%\documents\iisexpress\config\applicationhost.config
i change the next line - under my project (replace localhost with 10.0.0.5)
<binding protocol="https" bindingInformation="*:44300:10.0.0.5" />
and my android managed to consume the service
enjoy
yaniv tzanany
No comments:
Post a Comment