Hi all
I'm trying to run "node-red admin login" in a Node-Red 4.0.5 installed in a privileged Proxmox container, but I always receive a "Failed to connect to http://localhost:1880 " error
Strangely, if I run "curl http://localhost:1880 " from same console, I get the NR page
What can I check?
Thanks
woody4165:
Proxmox container
Are you running the command "node-red admin login" from inside the Proxmox container?
In the console your running the curl command first look up the vmid of the container
$ pct list
Then using the vmid of the nodered container shell into it
$ pct enter vmid
now type commands you want to. edit files like settings.js ....etc
when your done and want back out type:
exit
hope this helps ya.
Absolutely!
I'm running the command from the LXC container console
woody4165:
node-red admin login
I see the command is
node-red-admin login
if you install it separate
see ---> Command-line Administration : Node-RED
To use the version included with node-red
, use the command node-red admin
I have not installed separately.
I've solved using the "target" option
So
node-red admin target http://myIP:1880
and then
node-red admin login
and it worked
1 Like
system
Closed
28 December 2024 16:13
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.