Skip to content

PSA: Selfhosting? Beware of open ports on the internet! #587

Answered by nguyenkims
prashantkamdar asked this question in Q&A
Discussion options

You must be logged in to vote

@prashantkamdar thanks for the suggestion. I think binding to 127.0.0.1 should be enough to avoid the container being accessible to the public. For example instead of using -p 7777:7777, we can use -p 127.0.0.1:7777:77 instead. What do you think?

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by prashantkamdar
Comment options

You must be logged in to vote
1 reply
@nguyenkims
Comment options

Comment options

You must be logged in to vote
2 replies
@nguyenkims
Comment options

@prashantkamdar
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants