title: Centos : Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : TCP Provider: Error code 0x2749
body: <p>I have installed MSSSQL on Centos 7. Installation is completed but when I am a connection to the SQL via sqlcmd It is giving the following error.</p>
  
  <pre><code>[root@S*03****k ~]# sqlcmd -S 127.0.0.1 -U sa -P H*****3
  Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired.
  Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : TCP Provider: Error code 0x2749.
  Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
  
  root@S*****k ~]# netstat -ntpl
  Active Internet connections (only servers)
  Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
  tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      699/sshd            
  tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      793/master          
  tcp6       0      0 :::80                   :::*                    LISTEN      704/httpd           
  tcp6       0      0 :::22                   :::*                    LISTEN      699/sshd    
  </code></pre>
  
  <p>Can anyone help?</p>