title: shows Failed to load resource: net::ERR_CONNECTION_REFUSED for php
body: <pre class="lang-php prettyprint-override"><code>&lt;html&gt;
      &lt;head&gt;
          &lt;meta charset="UTF-8"&gt;
          &lt;title&gt;
  
          &lt;/title&gt;
  
      &lt;/head&gt;
      &lt;body&gt;
          &lt;?php
          echo "Hello, world! This is my first PHP project!";
          ?&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>While I run a sample code in php using netbeans it shows the error like this</p>
  
  <pre class="lang-none prettyprint-override"><code>Failed to load resource: net::ERR_CONNECTION_REFUSED
  </code></pre>
  
  <p>So what is the problem and what I have to do for this?</p>