Given that the port is correct, your SQL Server version is newer than 2005, and TCP/IP is enabled, here are additional troubleshooting steps based on the knowledge sources: 1.
Check Docker Networking If you are running Airbyte via Docker, connecting to 127.0.0.1 or localhost from within a container may not work as expected. The container’s localhost is not the host machine’s localhost. Instead, use the host’s IP address or configure Docker networking appropriately. See this advice: > Sometimes using local dockers you need to configure your network or use different IP to connect to your container. [Forum Post: Could not connect with provided configuration. Error: Cannot create PoolableConnectionFactory](
https://discuss.airbyte.io/t/190) 2.
Named Instance Handling If you are connecting to a named instance, ensure you are specifying the correct port, as SQL Server named instances often use dynamic ports. Airbyte does not support instance name resolution; you must provide the exact port number for the instance. > The PORT number is not the default port number 1433 but a different port number for the named instance. [Forum Post: Source MSSQL - The connection tests failed](
https://discuss.airbyte.io/t/2892) > In the 'Host' field, insert the address and specify an instance name (eg. 127.0.0.1\sql2019) [Github Issue: MSSQL connector fails to connect to a Named Instance](
https://github.com/airbytehq/airbyte/issues/22359) 3.
JDBC URL Parameters Try adding or adjusting JDBC URL parameters in the Airbyte connection configuration. Sometimes, additional parameters are needed for authentication or encryption. [MSSQL Destination Getting Started](
https://docs.airbyte.com/integrations/destinations/mssql#getting-started) 4.
SQL Server Configuration Double-check that SQL Server is listening on the expected IP and port. You can use SQL Server Configuration Manager to verify this. 5.
Firewall and Security Software Even if TCP/IP is enabled, ensure that no firewall or security software is blocking the connection between Airbyte and SQL Server. If you have confirmed all of the above and the issue persists, please provide more details about your deployment (e.g., Docker vs. direct install, network setup, and any relevant logs). If you are using Docker, the networking setup is a common source of this type of error.