express-http-proxy icon indicating copy to clipboard operation
express-http-proxy copied to clipboard

DNS_PROBE_FINISHED_NXDOMAIN

Open Arnav-Kushesh opened this issue 4 years ago • 1 comments

My code

var proxy = require("express-http-proxy");
var app = require("express")();
const port = 3000;

app.use("/", proxy("www.google.com"));

app.listen(port, () => {
  console.log(`Example app listening at http://localhost:${port}`);
});

Error

image

Arnav-Kushesh avatar Jul 16 '21 15:07 Arnav-Kushesh

Add the letter 'L' between letters 'A' and 'H' on your 'locahost' spelling which should be 'localhost'.

fmasclef avatar Jun 20 '22 08:06 fmasclef