Skip to content

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

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

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions