搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do I address a homepage on my local Apache server?

  • 2 回覆
  • 4 有這個問題
  • 34 次檢視
  • 最近回覆由 eriku

more options

I have a local Apache server on my computer for program development purpose (HTML+PHP). In MS Explorer I address a program on that server like "http://localhost/VH_Safir-X/index.php". Firefox can not find anything by use of that address - how should it be written?

I have a local Apache server on my computer for program development purpose (HTML+PHP). In MS Explorer I address a program on that server like "http://localhost/VH_Safir-X/index.php". Firefox can not find anything by use of that address - how should it be written?

被選擇的解決方法

I have tried the wanted address a number of times without result. I then tried "http://127.0.0.1", which worked. Tried the wanted address again, and now it worked! Life is interesting! Thank you, alco!

從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

Hi eriku,
you should be able to access your pages with your address if your server is up and running. As long as you have access with ie with that address I don't see why you are not able to view the same pages with firefox. In case you have not changes your default localhost address, you could try with http://127.0.0.1
Please report back, so we could address your problem more precisely.

more options

選擇的解決方法

I have tried the wanted address a number of times without result. I then tried "http://127.0.0.1", which worked. Tried the wanted address again, and now it worked! Life is interesting! Thank you, alco!