question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mitweb inconsistent option: web-iface

See original GitHub issue

Problem Description

For mitmweb, the option is --web-iface; but for mitmproxy, the option is --listen-host.

These two settings are practically the same, since the interface value is actually an IP address. Coming from Linux, I initially tried setting it to eth0, but that failed.

Searching for the option in the repository led me to the following command:

docker run --rm -it -p 8080:8080 -p 127.0.0.1:8081:8081 mitmproxy/mitmproxy mitmweb --web-iface 0.0.0.0

Source: https://github.com/mitmproxy/mitmproxy/blob/master/release/docker/README.md#usage

Instead, I think we should change it to --web-host to match the proxy.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Kriechicommented, Apr 23, 2020

Thanks for pointing this out - I updated the readme now.

1reaction
oxr463commented, Apr 23, 2020

Please add this change to the documentation on dockerhub. I was wondering why it wouldn’t accept --web-iface 0.0.0.0 as suggested there. Thanks!

The source file was updated, (See: release/docker/README.md); perhaps someone will need to update it manually on Docker Hub.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found