I just installed
npm install -g n8n
then n8n to start n8n
but it starts on localhost
how do i change it to 0.0.0.0 ?
regards
I just installed
npm install -g n8n
then n8n to start n8n
but it starts on localhost
how do i change it to 0.0.0.0 ?
regards
It looks like your topic is missing some important information. Could you provide the following if applicable.
You need to set it in the env file. If using Windows, go to the directory where n8n stores its database.sqlite file, create an empty file and name it only .env (that is dot env)
Edit that file and add these lines:
# Set default URL instead of localhost
N8N_HOST=0.0.0.0
N8N_PORT=5678
N8N_PROTOCOL=http
Once you save that file, stop and restart n8n fully (or reboot machine). It should be accessible at that IP now.
If you’re using any other OS than Windows, it’s still possible but I cant advise how to find and edit that file as I only use Windows currently.
thank you.
Solved
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.