locked
Access Localhost from windows 8 phone emulator RRS feed

  • Question

  • User-956690817 posted

    I created an new ASP.NET web forms app that has the new moble features I tried to see how it switches from desktop to moble on the phone but the new emulator won't access localhost any one have an answer please

    Saturday, December 15, 2012 4:19 PM

All replies

  • User541108374 posted

    Hi,

    Windows Phone 8 emulator is different then in the past so you'll have to treat it differently. An answer to the same question was answered with this:

    The Windows Phone 8 emulator is actually a full virtual machine with its own internal IP address. Therefore, localhost means the (virtual) phone, not your PC. 

    To connect to the host PC, you need to enter its internal IP address.

    You also need to configure IIS Express and your firewall to accept connections from other computers.

    Taken from http://stackoverflow.com/questions/13149304/windows-phone-8-emulator-access-localhost (found via google).

     

    Grz, Kris.

    Saturday, December 15, 2012 4:51 PM
  • User-956690817 posted

    Hi thanks for getting back to me I've tried that solution I run ipconfig in the comand promp got the IP address where in IIS express and fire wall do you configure to accept connections you'd think if it was this complicated there would be a walk through

    Saturday, December 15, 2012 5:48 PM
  • User541108374 posted

    Hi,

    I heard that one of my colleagues spent several days installing and trying to get it to work. Another colleague tried as well and stated that he was up and running within a day following the guidelines provided by Microsoft.

    Grz, Kris.

    Saturday, December 15, 2012 5:51 PM
  • User-956690817 posted

    any Idea were to find these guid lines

    Saturday, December 15, 2012 6:41 PM
  • User541108374 posted

    Hi,

    this is the one that my colleague followed: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626524(v=vs.105).aspx.

    Grz, Kris.

    Sunday, December 16, 2012 7:13 AM