Skip to content

Conversation

@machawk1
Copy link
Member

@machawk1 machawk1 commented May 8, 2022

Closes #763

@machawk1 machawk1 requested a review from ibnesayeed May 8, 2022 02:18
# or '/ip6/{ipaddress}/tcp/{port}/http

IPWBREPLAY_ADDRESS = 'localhost:2016'
IPWBREPLAY_ADDRESS = '0.0.0.0:2016'
Copy link
Member

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.

Copy link
Member Author

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?

Copy link
Member

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).

@machawk1 machawk1 marked this pull request as draft May 9, 2022 17:04
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 this pull request may close these issues.

Allow declaration of a custom hostname on launching the replay

3 participants