I tried to use http-server for Nodejs so I followed the step from here. URL
Once I start the server, it runs well but I cannot access the index.html page. The browser just show "This page isn’t working" message.
I am trying to use Angular's service worker and I tried to use this command.
"C:\Works\angular-pwa-app\dist>http-server -c-1 ."
and
I could see:
Starting up http-server, serving . Available on:
http://192.168.1.37:8080 http://127.0.0.1:8080 Hit CTRL-C to stop the server
When I tried to access "http://127.0.0.1:8080", the command line shows:
[Mon Jun 10 2019 14:38:23 GMT-0600 (Mountain Daylight Time)] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
and then I see the fail message on browser.
what did I miss?