Skip to content

"nikola serve": Better error message when the port is already in use. #3824

@arunpersaud

Description

@arunpersaud

Requested Feature: (short description)

A better error message when the port is already in use, for example, when you start a second nikola serve instance.

Related Area: (eg. tasks, compilers, configuration, templates…)

command line interface

Do you want to contribute this yourself as a pull request? (don’t worry about it if you don’t want to/can’t — someone else can take care of it)

  • Yes, I have already written code for it (link if available and feasible)
  • Yes, I don’t have code ready yet (that’s okay!)
  • No (that’s okay too!)

Does this feature affect backwards compatibility? If yes, in what way?

No

Rationale and full description: (why should it be added to Nikola?)

Tell the user what the problem is and how to solve it (-p option). Alternatively nikola could also just try to find an open port (e.g. try 8001, 8002, etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions