Yes - as I said. You really need to properly test the connectivity. It's not especially straightforward but a quick Google turns up things like this... http://richbs.org/post/43142767072/connecting-to-microsoft-sql-server-from-unix
Either...
- you don't have connectivity to the server (port is blocked, IP is blocked etc.)
- your username / password is wrong
- the hostname isn't correct for the server
- the sql server is rejecting your connection
You have to systematically exclude all of those. It must be one of them. Don't just say "it's right" you have to *prove* it