Created
December 2, 2016 07:05
-
-
Save suneo3476/e927a3259cad4592c927261e30a957ea to your computer and use it in GitHub Desktop.
npmのhttp-serverがポート番号重複で起動できない問題への対処 ref: http://qiita.com/suneo3476/items/09a7a13111cbc0ba2d36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\anonymous\dev>http-server | |
events.js:141 | |
throw er; // Unhandled 'error' event | |
^ | |
Error: listen EADDRINUSE 0.0.0.0:8080 | |
at Object.exports._errnoException (util.js:837:11) | |
(省略) | |
at node.js:951:3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netstat -aon | find "8080" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TCP ***.***.***.***:* 0.0.0.0:8080 LISTENING (数字) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
taskkill /PID /F (数字) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting up http-server, serving ./static/pages | |
Available on: | |
http://192.168.24.52:8080 | |
http://192.168.56.1:8080 | |
http://127.0.0.1:8080 | |
Hit CTRL-C to stop the server | |
[Fri Dec 02 2016 15:11:10 GMT+0900 (東京 (標準時))] "GET /" "Mozilla/5 | |
.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chro | |
me/54.0.2840.99 Safari/537.36" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment