mac瀏覽器連不上localhost和沒法啓動apache

終端 sudo vi etc/hosts 里加上 127.0.0.1 localhost


eclipse使用apache的使用,出現了錯誤:Server Tomcat v6.0 Server at localhost failed to start.apache

後來在終端啓動apache,報錯:AH00558: httpd: Could not reliably determine the server's fully qualified do...服務器

懷疑端口被佔用,但後來發現apache是能啓動的,但訪問不了本地服務器,因此加上以上的命令便可eclipse

相關文章
相關標籤/搜索