0

输入命令

问题出现的平台版本及自己尝试过哪些方法

输入命令,服务器也启动了,有几个IP地址,但是打不开
图片描述
图片描述

相关代码

// 请把代码文本粘贴到下方(请勿用图片代替代码)
http-server . -c-1
Starting up http-server, serving .
Available on:
http://192.168.0.7:8080
http://192.168.0.6:8080
http://169.254.180.87:8080
http://169.254.12.193:8080
http://127.0.0.1:8080
Hit CTRL-C to stop the server
[Fri Jun 14 2019 20:08:07 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
[Fri Jun 14 2019 20:08:08 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
[Fri Jun 14 2019 20:08:13 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
[Fri Jun 14 2019 20:08:43 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
[Fri Jun 14 2019 20:08:44 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
[Fri Jun 14 2019 20:08:51 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
[Fri Jun 14 2019 20:08:59 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
[Fri Jun 14 2019 20:09:04 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
[Fri Jun 14 2019 20:10:25 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
[Fri Jun 14 2019 20:10:26 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"

你期待的结果是什么?实际看到的错误信息又是什么?

2019-06-14 提问
1 个回答
0

http-server默认的8080端口是否被占用,推荐set-node-server不存在被占用的情况

撰写答案

推广链接