2013-11-14 77 views
0

最初xampp工作正常,我可以訪問我的本地沒有問題。我甚至設置了我的密碼來訪問服務器。 有一段時間一切都很好,xampp問我我的憑據,我插入他們,我被帶到我的管理員頁面。沒問題。我無法訪問我的本地主機與xampp

雖然有一次,我不得不改變用於Apache的端口,但之後它不再抱怨了。

現在我收到一條消息,說Google Chrome無法連接到我的本地主機。 一切似乎都在工作,所以我不知道什麼是錯的。

這是我XAMPP控制面板上看到:

初始化控制面板

14:57:04 [main] Windows Version: Windows Vista Home Premium SP2 32-bit 
14:57:04 [main] XAMPP Version: 1.8.3 
14:57:04 [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ] 
14:57:04 [main] You are not running with administrator rights! This will work for 
14:57:04 [main] most application stuff but whenever you do something with services 
14:57:04 [main] there will be a security dialogue or things will break! So think 
14:57:04 [main] about running this application with administrator rights! 
14:57:04 [main] XAMPP Installation Directory: "c:\xampp\" 
14:57:04 [main] Checking for prerequisites 
14:57:04 [main] All prerequisites found 
14:57:04 [main] Initializing Modules 
14:57:04 [main] Starting Check-Timer 
14:57:04 [main] Control Panel Ready 
14:57:06 [Apache] Attempting to start Apache app... 
14:57:06 [Apache] Status change detected: running 
14:57:08 [mysql] Attempting to start MySQL app... 
14:57:08 [mysql] Status change detected: running 

回答

14

您需要在瀏覽器中指定新的端口號:http://localhost:10101如果端口是10101

+0

它的工作,非常感謝你的幫助! – Mary

1

很可能您需要更改端口號。

您可以在服務器控制面板中執行此操作。 按下config按鈕進入httpd.conf文檔並代表您更改端口號。

要在url字段中輸入localhost:"Your chosen port number"

相關問題