** (Tds.Error) tcp connect: econnrefused

Do you really need tds_encoding?

Perhaps deleting this dependency from your mix.exs file solves the problem.