Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting to IIS Express using Android emulator

I am using the loopback 10.0.2.2 and connecting to the port its running on but it always returns "HTTP Error 400 - The request hostname is invalid"

So does anyone know how to connect to IIS express in the Android emulator?

like image 614
Azzy Avatar asked Nov 13 '22 19:11

Azzy


1 Answers

I just ran into this using IIS Express. For now, to get around this problem, I switched over to use the Visual Studio Development Server (Cassini).

You will also need to check the versions of jquery and jquery mobile, to verify that they are compatible. I was running with jquery-ui-1.8.11, which I downloaded, but used jquery-1.5.1 which came with the ASP.NET MVC 3 app template. When I replaced the jquery 1.5.1 with jquery 1.7.2, it started working.

According to: http://jquerymobile.com/blog/2012/04/13/announcing-jquery-mobile-1-1-0/ jquery mobile 1.1.0 final requires jQuery core 1.6.4 or 1.7.1

like image 108
GKlesczewski Avatar answered Dec 18 '22 08:12

GKlesczewski