5、测试服务
浏览器中输入 : http://ip:8080/
检查服务器能正确响应。
或者终端命令行输入: wget htp://localhost:8080/
正常响应:
| [root@localhost merrick]# wget http://localhost:8080/ --2016-09-08 11:54:47-- http://localhost:8080/ 正在解析主机 localhost (localhost)... ::1, 127.0.0.1 正在连接 localhost (localhost)|::1|:8080... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:未指定 [text/html] 正在保存至: “index.html” [ <=> ] 11,197 --.-K/s 用时 0s 2016-09-08 11:54:47 (245 MB/s) - “index.html” 已保存 [11197] |
总结
以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作能带来一定的帮助,如有疑问大家可以留言交流,谢谢大家对易采站长站的支持。








