Hi, thanks for opening the issue.
process.env.NETBEAST must be equal to ip:port, e.g: localhost:8000 before launching it.
You can launch the app from the Dashboard, which will set the environment variables for you, or from the terminal:
export NETBEAST=127.0.0.1:8000; node-red
不过题主为什么不用express框架..
您好,我是有问必答小助手,您的问题已经有小伙伴帮您解答,感谢您对有问必答的支持与关注!