public HostPortWaitStrategy forPorts(int... ports) {
        this.ports = ports;
        return this;
    }
Waits until a socket connection can be established on a port exposed or mapped by the container.
core/src/main/java/org/testcontainers/containers/wait/strategy/HostPortWaitStrategy.java