I installed n8n locally, but I keep encountering this error. Whenever I try to add API credentials, such as OpenAI, DeepSeek, or any other API, I always get the message: “Couldn’t connect with these settings. More details.” even after entering the correct information.
Here’s a screenshot of the issue: Screenshot by Lightshot.
However, when I try the same setup on my VPS server, it works without any errors.
Additionally, I see the following output in my CMD:
Editor is now accessible via:
http://localhost:5678
Press "o" to open in Browser.
The service refused the connection - perhaps it is offline.
connect ECONNREFUSED 127.0.0.1:443
connect ECONNREFUSED 127.0.0.1:443
The service refused the connection - perhaps it is offline.
connect ECONNREFUSED 127.0.0.1:443
connect ECONNREFUSED 127.0.0.1:443
How can I fix this issue? Thanks!