title: Why can't I connect to the SQL Server instance on my local machine?
body: <p>I have just installed SQL Server 2016 (Developer Edition) database engine on my dev machine (Windows 10).</p>
  
  <p>When installing I named the instance <code>CUBE</code>, with Windows authentication using the current (only) user's credentials.</p>
  
  <p>I can see the instance running in Services:</p>
  
  <p><a href="https://i.stack.imgur.com/mmOPL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mmOPL.png" alt="Services"></a></p>
  
  <p>When I try to login using SQL Management Studio I get the following error:</p>
  
  <p><code>A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible...</code></p>
  
  <p><strong>Things I've tried:</strong></p>
  
  <ul>
  <li>Checked the server is running (it is)</li>
  <li>Opened firewall port 1433 (no difference)</li>
  <li>In SQL Server Configuration Manager > SQL Server Network Configuration I've enabled <strong>Named Pipes</strong> and <strong>TCP/IP</strong></li>
  </ul>
  
  <p>I can't see what I'm doing wrong - can anyone help?</p>