VS2012 Unable to connect to the remote server RRS feed

  • Question

  • Win8 App:

    When I start the emulator of vs2012 for win8 app, and try to send a http request, I will got the response of exception: $exception    {"Unable to connect to the remote server"}    System.Exception {System.Net.WebException}

    However, I can request it successfully by browser, means that the network is ok and the server side is ok, too. this problem doesn't happen on the others' pc.

    could you please help me, thanks a lot in advance.

    Sunday, June 9, 2013 10:32 AM

All replies

  • I think one of the setting you have in your VS code is wrong.    Are all the machine where the coede is working windows 8?  I'm suspecting that the windows 8 is using IP V6 instead of IP V4 like win XP.

    I recommend using a sniffer like wireshark or fiddler to trace the IE results with the VS application results.  Look at the http headers and see if you can find a header setting that is different between IE and VS.


    Sunday, June 9, 2013 12:44 PM
  • Hi Situdana,

    From your description, I ‘d like to move this post to  the most related forum. There are more  experts in this aspect, so you will get  better support and  may have more luck getting answers.

    Thanks for your understanding.


    Lisa Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, June 12, 2013 2:36 AM