SQLServer On myMac with Docker but JDBC use TCP/IP failed connection SQLServer

  docker, macos, sql-server, tcp

The TCP/IP connection to the host 127.0.0.1, port 1433 has failed. Error: "Connection refused. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".

MacOS version 10.15.7

Docker version 1.12.3

SQLServer microsoft/mssql-server-linux

Source: Docker Questions

LEAVE A COMMENT