title: CakePHP Connection Refused in Browser
body: <p>I'm working on setting up/learning CakePHP for the first time and I am struggling to figure out why I cannot reach my server over the default port 8765. I like to develop on an ubuntu machine and work on the code remotely. <strong>The server is hosted on a vm on my local machine, but i am referring to it as the remote machine.</strong> Both the server and my remote machine are on the same 10.0.1.x subnet. I can reach the server over port 80 fine. However, when I attempt to reach hxxp://10.0.1.44:8765/ I get the following message</p>
  
  <p><code>Failed to connect to 10.0.1.44 port 8765: Connection refused</code></p>
  
  <p>I've tried disabling my firewall on the Ubuntu 16 server by doing <code>sudo uff disable</code> and that didn't work. I've also tried editing my Apache2.conf file and overriding the directory permissions. These are my current global permissions:</p>
  
  <pre><code>&lt;Directory /&gt;
      Options FollowSymLinks
      AllowOverride None
      Require all denied
  &lt;/Directory&gt;
  
  &lt;Directory /usr/share&gt;
      AllowOverride None
      Require all granted
  &lt;/Directory&gt;
  
  &lt;Directory /var/www/&gt;
      Options Indexes FollowSymLinks
      AllowOverride None
      Require all granted
  &lt;/Directory&gt;
  </code></pre>
  
  <p>Any help is greatly appreciated!</p>