I have a local install of n8n under windows server 2019. I cannot use docker on this operating system, so i used npm. Everything works right under http.
Now I need to access a webhook of my workflow from a MAUI App. Android doesn’t allow to POST http messages. I need to use https messages.
I have tried every option I have found on the web, but every time I start n8n i get the same message:
Editor is now accessible via:
http://localhost:5678/
Why you can’t use docker? npm use on the bare server is quite complex…
About vars:
VUE_APP_URL_BASE_API - you don’t need that one
WEBHOOK_TUNNEL_URL - there is no such a varibale. The correct one is WEBHOOK_URL
Also, I’m not very confident that you need the /m flag. I’ve set them via PS command $ENV:Variable_name=variable_value (e.g. $env:N8N_PROTOCOL = "https" and then I was able to use them by starting n8n in the same shell
I know those 3 environment variables are useless, but I read somewhere about it. That’s why I used them.
About the docker thing: you cannot install docker on a windows server. That was my first attempt. But the installer won’t run. I have no other way to use n8n but npm. I know it’s a real pain, that’s the reason why I am asking for help.
Now I have been able to get this message as I start n8n:
Editor is now accessible via:
https ://localhost:5678/
But it’s not true. The web service doesn’t give any answer. I have try using a chrome and using Postman. I get this error:
And there’s other strange thing: when I press the ‘o’ key nothing happends, I mean, the web browser don’t open. When I used the http protocol I got the browser open with the n8n page open as I press the ‘o’ key.
I don’t understand why it keeps saying about the port 5678 if you have set the different port. Does the n8n available on port 8085?
About the windows server, you can install the docker on server instance via powershell
Can you provide the full output of the console (except the sensitive info like password, secrets, logins and etc) starting with the variable setting and ending when the editor is available?