When generating Allure reports using Allure Commandline when executing the command:

$ allure report open

A web server is started on the local host with a random port number each time. Can I specify the desired port number but which needs to run a web server with reports?

    1 answer 1

    Judging by the port code, you can specify explicitly:

    @Option(name = {"-p", "--port"}, type = OptionType.COMMAND, description = "This port will be used to start web server for the report")