I have installed Node-Red in a linux server which I access it via putty.
I am able to start the node red server by running node-red in the terminal of putty. But how can I access the GUI in my local web browser (not from the browser of linux server) ?
We know that you can log in to your Linux computer by ssh.
Run the command ifconfig | grep inet and look for an IP address. Not 127.0.0.1.
This is the IP address that you need to use in your browser with :1880 after it.
It is usual on Linux to arrange for Node-red to run automatically when the computer starts up. Have you not done this?
No-one should ever log in to a Linux system as root. It is inviting all sorts of problems in the future.
Please do what I asked and show us the full startup log. Copy/paste please, not screen shot.
You are leaving the putty terminal open when you run the browser I assume.
hannan@ansible:~$ node-red
11 Apr 06:30:12 - [info]
Welcome to Node-RED
===================
11 Apr 06:30:12 - [info] Node-RED version: v3.0.2
11 Apr 06:30:12 - [info] Node.js version: v18.15.0
11 Apr 06:30:12 - [info] Linux 5.15.0-67-generic x64 LE
11 Apr 06:30:13 - [info] Loading palette nodes
11 Apr 06:30:14 - [info] Settings file : /home/hannan/.node-red/settings.js
11 Apr 06:30:14 - [info] Context store : 'default' [module=memory]
11 Apr 06:30:14 - [info] User directory : /home/hannan/.node-red
11 Apr 06:30:14 - [warn] Projects disabled : editorTheme.projects.enabled=false
11 Apr 06:30:14 - [info] Flows file : /home/hannan/.node-red/flows.json
11 Apr 06:30:14 - [info] Creating new flow file
11 Apr 06:30:14 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
11 Apr 06:30:14 - [warn] Encrypted credentials not found
11 Apr 06:30:14 - [info] Server now running at http://127.0.0.1:1880/
11 Apr 06:30:14 - [info] Starting flows
11 Apr 06:30:14 - [info] Started flows
Yes the putty terminal is open when i run the browser
The ip address I enter in putty is different. Once I enter that IP address in putty, then I login as root (that is how the instructions are for using that server) and then I perform ssh login to hannan @ 192.168.50.254
In browser I enter 192.168.50.254:1880 . I get this IP address from ifconfig after ssh login
Why is it different? To access node-red via a browser you must be able to directly access it from the machine running the browser. It sounds as if you are trying to connect to a different network, or something simiilar. You need to tell us more about the network configuration.