title: Connecting to Docker API with curl
body: <p>I'm using Kitematic on a mac and I'm trying to connect to the docker events API using curl.</p>
  
  <pre><code>curl --no-buffer -XGET --unix-socket tcp://192.168.99.102:2376 http://events
  curl: (7) Couldn't connect to server
  </code></pre>
  
  <p>However, it won't connect to the server. This connects: </p>
  
  <pre><code>telnet 192.168.99.102 2376
  Trying 192.168.99.102...
  Connected to 192.168.99.102.
  Escape character is '^]'.
  </code></pre>
  
  <p>I also tried the Ruby Docker library that can successfully subscribe to the event stream.</p>