Skip to content

Setting up a server node to bind on port 80 crashes node-red (due to EADDRINUSE) #73

@nagisa

Description

@nagisa

When creating an OCPP server node, specifying the same port as the node-red itself will lead to node-red itself crashing. In principle this issue could be viewed as two distinct problems:

  1. The fact that node-red crashes instead of the faulty node reporting an error (this happens when a catch:all node is present in the flow too);
  2. The fact that the node attempts to bind a new server to the port, rather than adding a route on the same server that node-red already has up (similarly to how e.g. @flowfuse/node-red-dashboard does.)

It would be lovely if at least the first issue was fixed however, as starting node-red in safe mode can be not straightforward to figure out.

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