Skip to content

Provide an option to start the server on a dynamic port #16

@ov7a

Description

@ov7a

Currently, it's mandatory to pass a valid free port.

It would be nice to have an option to omit the port, start with an ephemeral port provided by the OS.

Implementation-wise, it looks as simple as passing 0 to serverSocketFactory.createServerSocket(port) and exposing listenSocket.getLocalPort()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions