Cannot login to my openBalena Server

I have installed the openBalena server on an AWS EC2 instance and configured the needed domains:

All domains are redirected to the IP address of my EC2 instance.

And of course, I’ve installed the certificate file on my local machine by export NODE_EXTRA_CA_CERTS='/path/to/ca.crt' command.

But I am getting this error when I try logging in:

pl-extreme@plextreme-UP-WHL01:~$ sudo balena login
 _            _
| |__   __ _ | |  ____  _ __    __ _
| '_ \ / _` || | / __ \| '_ \  / _` |
| |_) | (_) || ||  ___/| | | || (_) |
|_.__/ \__,_||_| \____/|_| |_| \__,_|

Logging in to
? How would you like to login? Credentials
? Email:
? Password: [hidden]
ECONNREFUSED: request to failed, reason: connect ECONNREFUSED

Additional information may be available by setting a DEBUG=1 environment
variable: "set DEBUG=1" on a Windows command prompt, or "export DEBUG=1"
on Linux or macOS.

If you need help, don't hesitate in contacting our support forums at

For bug reports or feature requests, have a look at the GitHub issues or
create a new one at:

But I swear that 443 port is opened on my EC2 instance:

Any idea?

P.S. I have opened 3218 too after checking this - Necessary ports for open balena?

I think I found the reason.

I had missed -d parameter when configuring the openBalena server:

/scripts/quickstart -U <email@address> -P <password> -d


Good to know that you found the issue. Please let us know if you need further support!