Skip to content

add option for exclusive port #338

@Viper-Bit

Description

@Viper-Bit

right now hyper-express uses default uWs.listen and by default it uses ListenOptions.LIBUS_LISTEN_DEFAULT but we can use ListenOptions.LIBUS_LISTEN_EXCLUSIVE_PORT to make port exclusive.
uNetworking/uWebSockets.js#1154

for us it's so important in debug mode, because sometimes two instance of node runs and we can't find/debug requests

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