Instance is refusing to connect

I just added a Ghost blog. When I try to connect, I see this in the logs:

2023-02-19T16:40:59.006 proxy[a22fa945] maa [warn] Could not proxy HTTP request. Retrying in 1000 ms (attempt 10)

2023-02-19T16:41:05.125 proxy[a22fa945] lhr [error] instance refused connection

I am on the free plan which isn’t available in maa. Could that be the reason? The logs show 2 different regions although i deployed in lhr.

Here’s my toml file:

# fly.toml file generated for esoxjem on 2023-02-19T22:03:21+05:30

app = "esoxjem"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[build]
  image = "ghost:latest"

[env]
  database__client = "sqlite3"
  database__connection__filename = "content/data/ghost.db"  
  database__useNullAsDefault = "true"  
  database__debug = "false"

[experimental]
  auto_rollback = true

[mount]
  destination = "var/lib/ghost/content"
  source = "data"

[[services]]
  http_checks = []
  internal_port = 2386
  processes = ["app"]
  protocol = "tcp"
  script_checks = []
  [services.concurrency]
    hard_limit = 25
    soft_limit = 20
    type = "connections"

  [[services.ports]]
    force_https = true
    handlers = ["http"]
    port = 80

  [[services.ports]]
    handlers = ["tls", "http"]
    port = 443

  [[services.tcp_checks]]
    grace_period = "1s"
    interval = "15s"
    restart_limit = 0
    timeout = "2s"

Would apprecite any pointers! :pray:

Connection refused means your app is not listening on 0.0.0.0. It’s likely listening on 127.0.0.1 which doesn’t work (yet) on fly.