Allow access to web docker app from outside container#2659
Open
bwrsandman wants to merge 1 commit intoWerWolv:masterfrom
Open
Allow access to web docker app from outside container#2659bwrsandman wants to merge 1 commit intoWerWolv:masterfrom
bwrsandman wants to merge 1 commit intoWerWolv:masterfrom
Conversation
Change server binding from localhost to 0.0.0.0. The localhost address is 127.0.0.1 which does not allow for access from outside.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem description
When trying to install imhex as a docker container using
ghcr.io/werwolv/imhex/imhex-web, the 9090 port doesn't connect to anything on the host server. Connections to 9090 work inside the container.This is because the
localhostaddress is127.0.0.1which does not allow for access from outside.Implementation description
Change server binding from
localhostto0.0.0.0to allow connections from all interfaces, no justlo.Screenshots
Where 9090 is before and 9091 is after the change.
Before

After

Additional things