命令符出現(xiàn)這個(gè)提示是錯(cuò)誤嗎?
點(diǎn)擊StartServer.bat后,命令符出現(xiàn)Could not reliably determine the server's fully qualified domain name, using 1.1.6.25 for ServerName是怎么回事
點(diǎn)擊StartServer.bat后,命令符出現(xiàn)Could not reliably determine the server's fully qualified domain name, using 1.1.6.25 for ServerName是怎么回事
2017-11-02
舉報(bào)
2018-07-22
點(diǎn)擊StartServer.bat后,命令符出現(xiàn)Could not reliably determine the server's fully qualified domain name, using 1.1.6.25 for ServerName;我自己剛試過,現(xiàn)在可以進(jìn)訂票系統(tǒng)了
解決辦法:
1、依次進(jìn)入到Program Files (x86)--HP--LoadRunner--WebTours--conf下
2、用記事本打開 httpd.conf
3、按下Ctrl+F,輸入ServerName,搜索到“#ServerName localhost:1080”這一行
4、去掉前面的“#”,點(diǎn)擊保存
5、再次按下Ctrl+F,輸入“<Directory />”,將圖中框選字段“Deny from all”改成“Allow from all”,然后保存。
6、重新點(diǎn)擊StartServer.bat后,就沒有那個(gè)報(bào)錯(cuò)了
7、若web Tours還是報(bào)【無(wú)法顯示該網(wǎng)頁(yè)】,那么使用該鏈接【http://192.168.2.103:1080/WebTours/index.htm】,注意:192.168.2.103需要改成自己的ip
8、查找自己的ip,左下角開始--cmd ---輸入【ipconfig】,ipv4對(duì)應(yīng)的就是自己電腦的ip
9、要確保先打開StartServer.bat后,再用瀏覽器打開web Tours,StartServer.bat不能關(guān)閉
2017-11-08
用記事本打開?httpd.conf
將里面的?#ServerName?localhost:80?注釋去掉即可。
再執(zhí)行?httpd
然后可以通過瀏覽器訪問?http://localhost:80?,如果頁(yè)面顯示?“It works!”?,即表示apache已安裝并啟動(dòng)成功。