REDIS Public port not connecting

I used Redis - standalone Redis Server · Fly Docs to create a redis instance, deployement is successfull but i’m not able to connect to the instance

App name - redis-dev

I keep MAXMEMORY_POLICY as noeviction

Fly toml

# fly.toml file generated for redis-dev on 2022-09-06T13:19:41+05:30

app = "redis-dev"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[build]
  image = "flyio/redis:6.2.6"

[metrics]
  path = "/metrics"
  port = 9091

[[mounts]]
  destination = "/data"
  encrypted = false
  processes = []
  source = "redis_server_dev"

[[services]]
  http_checks = []
  internal_port = 6379
  processes = []
  protocol = "tcp"
  script_checks = []
  tcp_checks = []
  [services.concurrency]
    hard_limit = 10000
    soft_limit = 10000
    type = "connections"

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

  [[services.ports]]
    handlers = []
    port = 10000

When you say “not able to connect” … do you get any error message that suggests why not? If you run fly logs using the CLI you should see the latest X log lines.

Like … is your app complaining about an invalid hostname (suggesting a DNS issue)? Or maybe an authentication error (that Redis image requires a password, so make sure that is set and being sent)?

Some kind of error message will assist with debugging.

Hey greg, i was getting invalid hostname issues, its started working now, i think some DNS issues when i tried to deploy yesterday