OS Error 107 could not proxy TCP data to/from instance

Hello,

I have an issue on a new instance I made.

I followed this repo : GitHub - bogordesaincom/mongodb-fly: Deploy Mongodb Docker with Fly to make a mongodb instance.

I got this error when I want to login with Compass or anything else :

could not proxy TCP data to/from instance: failed to copy (direction=client->server, error=Transport endpoint is not connected (os error 107))

The port 27017 is internal and external.

Here the fly.toml



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

[env]
  PORT = "27017"
[experimental]
  allowed_public_ports = []
  auto_rollback = true

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

  [[services.ports]]
    port = 27017

  [[services.tcp_checks]]
    grace_period = "1s"
    interval = "15s"
    restart_limit = 0
    timeout = "2s"
[[mounts]]
    destination = "/var/lib/mongodb"
    source = "db_storage"

How can I solve it ?

Well…
Without any changes, today it works fine…

1 Like