title: JDBC connecting to SQL Server 2005 - Connection Refused
body: <p>I create a JDBC connection to SQL Server 2005. It throws the error Connection Refused. </p>
  
  <blockquote>
    <p>java.sql.SQLException: Network error IOException: Connection refused: connect</p>
  </blockquote>
  
  <p>I already enable TCP/IP in SQL Configuration Manager and the port 1433 but it's still impossible to connect.</p>
  
  <p><img src="https://i.stack.imgur.com/ATJde.jpg" alt="JDBC Connection Properties"></p>