angular - How do I know what port http-server is using? -


here install http server using npm install http-server -g command prompt after installing gives relevant path not port number, how can know port number is?

http://localhost:8080/index.html  

it's throwing error on iis 8.5.

you need run command http-server in directory index.html located can explicitly give command port use http-server -p 8918 use port 8918, command without parameters defaults 8080 or 8081 if 8080 occupied if recall correctly.

you can find more info on https://www.npmjs.com/package/http-server


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -