Using a non-standard port using SQL Server Native Client 11.0 ODBC

Connection string

This SQL Server Native Client 11.0 ODBC Driver connection string can be used for connections to SQL Server 2012, SQL Server 2008 and SQL Server 2005.

If your SQL Server listens on a non-default port you can specify that using the servername,xxxx syntax (note the comma, it's not a colon).

Driver={SQL Server Native Client 11.0};Server=myServerName,myPortNumber;
Database
=myDataBase;
Uid=myUsername;Pwd=myPassword;

The default SQL Server port is 1433 and there is no need to specify that in the connection string.