Easy way to get localhost for .html files. Just: npm i Put your static files to /public node index.js Enjoy localhost:3000!