Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8898803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:42:17+00:00 2026-06-15T00:42:17+00:00

I want to run Fiddler to help debug a portable API client that I’m

  • 0

I want to run Fiddler to help debug a portable API client that I’m developing.

In Visual Studio, on the Windows Store Unit Test project property page > Debug tab I have checked the ‘Allow Local Network Loopback’ option.

Every web request run during a store unit test fails with a System.Net.Sockets.SocketException : A connection attempt failed because the connected party did not properly respond after a period of time or established connection failed because connected host has failed to respond 127.0.0.1:8888.

The Uri I’m connecting to is not local – but another machine on the local network – so this fiddler loopback address is indeed coming from the global proxy setting.

I know that for Windows Store Apps you have to enable the loopback network isolation exemptions and have ticked every app container listed in the UI for that (despite none of them being related to VS or this unit test projects) – to no avail.

I’ve also tried disabling IPv6 in Fiddler – don’t know why I thought that might work, but it was worth a punt – it didn’t work either.

Anyone got any ideas!?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T00:42:19+00:00Added an answer on June 15, 2026 at 12:42 am

    Okay – whilst I was on the right track, thinking that there must be some app container registered for the unit test project – what I didn’t think was that it might only be active while MSTest is running.

    You need to debug the Windows Store unit test (any of the tests in the project) and stick a breakpoint in (to halt execution of the test runner) so it will then appear in the list of AppContainers within Fiddlers’ Loopback Extensions tool.

    So – given this test:

    [TestMethod]
    public async Task Example()
    {
        var result = await GetSomeData(); //<-- breakpoint
        Assert.IsNotNull(result);
    }
    
    private async string GetSomeData()
    {
        //TODO something that makes a web request with, say, HttpClient
    }
    

    All you do is breakpoint the line shown above – and then launch the ‘Win8 Config’ option from Fiddler – and you’ll see that your unit tests project appears in the list of AppContainers.

    Enable loopback for that app container, save the changes and then continue in your unit test – you should see the traffic correctly captured.

    After doing this once it would seem that you don’t have to do it again – I’ve closed down fiddler and restarted it and the traffic is still captured correctly.

    One word of warning, however, once you do this the Loopback exemptions tool will moan about an exemption being defined for a SID for which there is no AppContainer if it is launched – unless you happen to be running a unit-test again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app(django-compressor) that I only want to run on my local machine
I want run all script from the directory . Like , The directory contains
I want run a script as follows: runner: ssh 'java program &' ssh 'java
Why this code don't work,when i want run this code vwd 2008 express show
I have written php program and uploaded on server. I want run this program
Want to run javascript function from parent window in child window Example I have
I want to run code which needs boost libraries. I built it using CMake.
I want to run an update query. The query will be run against multiple
I want to run wget as follows shell_exec('wget 'http://somedomain.com/somefile.mp4''); sleep(20); continue my code... What
I want to run a a java program on a remote computer 24 x

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.