Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nagisa opened this issue Jul 10, 2024 · 0 comments

Comments

@nagisa
Copy link
Contributor

nagisa commented Jul 10, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant