Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

385
Views
How to see http requests in fiddler going to docker container on windows?

I'm using default docker on windows configuration and I run configure an application like this:

docker run -d -p 8080:80 --name openproject ...

I can access the application using browser, but in fiddler I can't see traffic to the docker container. I see other traffic, so I assume the browser has correct proxy settings.

I've set proxy in docker settings to fiddler (http://127.0.0.1:8888), but still nothing from the container is visible to fiddler.

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

If you're trying to see traffic exiting the container, add this to your Dockerfile:

ENV http_proxy "http://host.docker.internal:8888/"
ENV https_proxy "http://host.docker.internal:8888/"

The http_proxy and https_proxy environment variables should be lowercase in a Linux container, contrary to what some of the Docker docs say (https://unix.stackexchange.com/questions/212894/whats-the-right-format-for-the-http-proxy-environment-variable-caps-or-no-ca)

host.docker.internal shortcuts you to the internal IP address used by the host (https://docs.docker.com/docker-for-windows/networking/).

Port 8888 is whatever port Fiddler is listening on in the host.

over 4 years ago · Santiago Trujillo Report

0

You can do that by finding out the IP-address of your Docker host (the VM running on Hyper-V). Just run "ipconfig" on the command shell.

The default IP address is probably 10.0.75.1 (at least it is on my machine).

So instead of http://localhost:8080 browse to http://10.0.75.1:8080 and fiddler will pick up the traffic.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!