# `Testcontainers.PortWaitStrategy`
[🔗](https://github.com/testcontainers/testcontainers-elixir/blob/main/lib/wait_strategy/port_wait_strategy.ex#L2)

Considers the container as ready when it successfully accepts connections on the specified port.

# `new`

Creates a new PortWaitStrategy to wait until a specified port is open and accepting connections.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
