title: Varnish Docker image not working for node js On localhost
body: <p>I am trying to implement Varnish  for a small small node js server</p>
  <pre><code>(index.js)
  const port = 80;
  require(&quot;http&quot;).createServer((req, res) =&gt; {
      res.write(new Date().toISOString());
      res.end();
  }).listen(port, () =&gt; {
      console.log(`http://127.0.0.1:${port}/`);
  })
  </code></pre>
  <pre><code>(default.vcl)
  vcl 4.1;
  
  backend default {
      .host = &quot;127.0.0.1&quot;;
      .port = &quot;80&quot;;
  }
  </code></pre>
  <pre><code>(CMD)
  //now I run docker  with following commands
  docker run  --name varnish -p 8080:80   -e VARNISH_SIZE=2G  varnish:stable
  docker cp default.vcl varnish:/etc/varnish 
  (Followed By restart container)
  </code></pre>
  <p>But All i see is following error:</p>
  <p>Error 503 Backend fetch failed
  Backend fetch failed</p>
  <p>Guru Meditation:
  XID: 31</p>
  <p>Varnish cache server</p>