There was a problem loading init data

Hi everybody,
I just tried to clone n8n locally on my mac and to start it under http://localhost:8081. I get this message and can’t figure out what I’m missing.

There was a problem loading init data:
API-Server can not be reached. It is probably down.

Thanks for any advice,
Enrique

Is there a reason why you do not want to use the standard n8n port 5678?

Anyway, you then have to make sure to set some environment variables accordingly that everything knows how to find the backend. You can find information about that here:

Hi Jan, sorry… my mistake! Thanks anyways for the response! I’ll have a look on n8n and already love it from the first view!

It does not have to be a mistake. There are definitely good reasons not to run it on the default port. But at the beginning especially for the first tests, it is definitely the easiest.

Very great to hear! Hope that feeling gets even stronger the more you use it :wink:

And if you run in any problems simply post here. I do my best to help you asap. Have a great day!

1 Like

I used macOS also, It seems the default port when running ‘npm run dev’ is 8081 :slight_smile:
from n8n run dev log :

n8n-editor-ui : App running at:
n8n-editor-ui : - Local: http://localhost:8081/
n8n-editor-ui : - Network: http://192.168.43.42:8081/

I got this error too but it gone by it self and running again on port 5678 :blush:

By default does n8n start on port 5678. Only if you run the editor in development mode does it additionally serve it also from port 8080 (with hot-reload). If you have already something else running on 8080 then it starts on 8081 but will then not work because of cors.

1 Like