title: how to resolve "Firefox can't establish a connection to the server at 127.0.0.1:8081"
body: <pre><code>var http = require("http");
  
  http.createServer(function (request, response){
    response.writeHead(200, {'Content-Type': 'text/plain'});
  
  response.end('hello suneha\n');
  }).listen(8081);
  console.log('server running at http://127.0.0.1:8081/');
  </code></pre>
  
  <p>ERROR caught on the browser while running the node js program <a href="https://i.stack.imgur.com/1OX0j.png" rel="nofollow noreferrer">1</a></p>