Failed to connect to db

My application is running on my test environment but when i moved the same app from the test server to a production server it couldn’t run.

first i got this error

iex(4)> [error] Tds.Protocol (#PID<0.955.0>) failed to connect: ** (Tds.Error) Connection failed to receive packet due :closed

ive checked all my credentials and confirmed with the system and db admins that they are correct.

There is a similiar thread today:
https://elixirforum.com/t/tds-error-connection-failed-to-receive-packet-due-closed/39896
Maybe the 2 of you can hook up and compare setup. It could be anything, firewall, version incompatibility, etc

1 Like