Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-detect IPv4 / IPv6 listen based upon --hostname arg #71

Closed
abhinavsingh opened this issue Sep 19, 2019 · 7 comments · Fixed by #76
Closed

Auto-detect IPv4 / IPv6 listen based upon --hostname arg #71

abhinavsingh opened this issue Sep 19, 2019 · 7 comments · Fixed by #76
Assignees

Comments

@abhinavsingh
Copy link
Owner

For brief background see #68 (comment)

@ghost
Copy link

ghost commented Sep 19, 2019

running proxy.py on one machine

2019-09-19 19:37:31,760 - INFO - pid:6840 - load_plugins:1151 - Loaded plugin <class 'proxy.HttpProxyPlugin'>
2019-09-19 19:37:31,760 - INFO - pid:6840 - setup:262 - Starting 4 workers
2019-09-19 19:37:31,792 - INFO - pid:6840 - run:225 - Started server on 0.0.0.0:10008

configure firefox on second machine
proxy not responding on first machine and keep 4 lines without change

019-09-19 19:37:31,760 - INFO - pid:6840 - load_plugins:1151 - Loaded plugin <class 'proxy.HttpProxyPlugin'>
2019-09-19 19:37:31,760 - INFO - pid:6840 - setup:262 - Starting 4 workers
2019-09-19 19:37:31,792 - INFO - pid:6840 - run:225 - Started server on 0.0.0.0:10008 

please advise

@abhinavsingh
Copy link
Owner Author

@mbatrawi As commented on separate thread, I don't think your requests even reach proxy.py on the other machine, kindly verify your setup.

PR #76 fixes the original concern raised in this issue. You should be able to simply use --hostname 0.0.0.0 without need of also passing --ipv4 flag.

abhinavsingh added a commit that referenced this issue Sep 22, 2019
…tream (#76)

* Fixes #71 and address some of #75

* Fix tests as IPV6 is default now

* Add comments and raise from e
@ghost
Copy link

ghost commented Sep 22, 2019 via email

@ghost
Copy link

ghost commented Sep 22, 2019 via email

@abhinavsingh
Copy link
Owner Author

@mbatrawi Great, looks like it worked out for you :) Thanks

@ghost
Copy link

ghost commented Sep 22, 2019 via email

@abhinavsingh
Copy link
Owner Author

@mbatrawi That sounds more like a browser configuration issue to me. At-least now you are able to hit proxy.py over the network :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant