Skip to content
New issue

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

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

Already on GitHub? # to your account

Update localhost address for use in docker container #127

Merged
merged 1 commit into from
Oct 8, 2021

Conversation

njgheorghita
Copy link
Collaborator

In order to communicate to our http server from outside of a docker container, we need to bind to 0.0.0.0 rather than 127.0.0.1. Though, I'm not sure if this opens up some security vulnerabilities as the new default? And instead should be controlled via cli flag / env var?

@njgheorghita njgheorghita requested a review from lithp October 8, 2021 18:51
Copy link
Contributor

@lithp lithp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The long-term solution is probably to turn web3_http_port into web3_http_addr, and default to localhost. Right now this defaults to turning any trin vulnerability into a vulnerability on a public open port, but as trin is pre-alpha I don't think that's worth slowing yourself down to fix.

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

Successfully merging this pull request may close these issues.

3 participants