balena deploy -> Error: connect: connection refused

It should work but some ports need to be open for external connections. I couldn’t find a doc for that and opened an issue in the openBalena repo, but external requests should go through HAProxy and you can find its configuration for openBalena here.

It looks like you need to open the following ports at the very least:

  • 80 (TCP)
  • 443 (TCP)
  • 3128 (TCP)

See also this thread: Necessary ports for open balena?.