Mssql login fail ECONNREFUSED 127.0.0.1:1433
<p>while trying to log in using this .. mssql -u sa -p mypassword .i get this error, <strong>Error: Failed to connect to localhost:1433 - connect ECONNREFUSED 127.0.0.1:1433</strong>
I have installed sql server on docker using this <a href="https://www.microsoft.com/en-us/sql-server/developer-get-started/java-mac" rel="nofollow noreferrer" title="this">https://www.microsoft.com/en-us/sql-server/developer-get-started/java-mac</a> tutorial and started it.
I am using mac os sierra. I have searched all over internet including stackoverflow for this but gotten no answer. The only answer i get is to enable tcp/ip using sql configuration manager, but mac os doesn't have a configuration manager so I can enable the tcp/ip. Kindly assist.</p>