testcontainers / testcontainers/testcontainers-java

Bind to localhost (127.0.0.1) instead of 0.0.0.0 where possible

Open
#2,133 9 comments 14 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

resolution/acknowledged
Dominant language
Java
Stars
8.7k
Forks
1.9k
Avg merge
2d 17h
Merged PRs (30d)
9

Description

By default, tests should not expose ports on machine's public interfaces.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by locating how Testcontainers chooses host bindings for ports exposed during Java tests, then identify coverage for the default behavior; done means tests bind to 127.0.0.1 rather than 0.0.0.0 where possible.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
networking, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.