Skip to content

Worker-cli is running on 2 ports #49

@lqnhat97

Description

@lqnhat97

My issue is when I ran the worker with the command java -jar <worker>.jar --port=<customPort> , the sandbox will listen on customPort and port 8080 (default).
I have checked the cli and found that the listener port use RequestServer(@Value("${app.worker.port:8080}"), so I fixed the command like java -Dapp.worker.port:<customPort> -jar <worker>.jar --port=<customPort> to let the sandbox run on my customPort. It's quite inconvenience. Can you fix it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions