-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add host flag to replay #766
base: master
Are you sure you want to change the base?
Conversation
IPWBREPLAY_ADDRESS = 'localhost:2016' | ||
IPWBREPLAY_ADDRESS = '0.0.0.0:2016' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 0.0.0.0
is a "listen to all interfaces" address, it can't be resolved from the client side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ibnesayeed I agree with your suggestion here. In Windows, localhost seems to resolve by default but not 0.0.0.0
. Can you comment on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want host parameter to be customizable, then add a special case to see if it is set to 0.0.0.0
then for all URI rewriting and FQDN URI purposes use localhost
(or the value in the proxy
parameter).
Closes #763