顯示具有 Xampp 標籤的文章。 顯示所有文章
顯示具有 Xampp 標籤的文章。 顯示所有文章

2015年9月25日 星期五

XAMPP Netstat 查看 port 使用狀況

XAMPP Netstat 查看 port 使用狀況



架站者,常要查詢 port 佔用狀況,
XAMPP 本身的控制台,就貼心的放了一個 Netstat 按鈕

位置
控制台/右上 Netstat





相關文章
XAMPP Netstat 查看 port 使用狀況
Netstat 找出佔用 port 的好工具


XAMPP Netstat 查看 port 使用狀況
http://sbonny.blogspot.com/2015/09/xampp-netstat-port.html

馬上按讚 加入 [兔兔電腦教室] 粉絲團

Localhost 無法顯示解決方法

Localhost 無法顯示解決方法
Appserv, XAMPP



安裝好 Xampp 時,
馬上要來看看結果,
打上
http://localhost/
卻沒有顯示....天哪.....


Xampp 安裝完執行錯誤

上午 08:59:43  [Apache] Error: Apache shutdown unexpectedly.
上午 08:59:43  [Apache] This may be due to a blocked port, missing dependencies,
上午 08:59:43  [Apache] improper privileges, a crash, or a shutdown by another method.
上午 08:59:43  [Apache] Press the Logs button to view error logs and check
上午 08:59:43  [Apache] the Windows Event Viewer for more clues
上午 08:59:43  [Apache] If you need more help, copy and post this
上午 08:59:43  [Apache] entire log window on the forums


一般而言,
佔用 port 80, 443 多半為 skype,
而我的,則多了 vmware 也會佔用,
經過一番研究與設定,
因測試 xampp 是在本機執行,
用以測試網站功能為主,
並未對外開放,
所以,將 port 改到其他位址就成了解決方案。


以下為研究流程與解決方案詳解



修改 port 流程

首先修改 port 80,
點右上 config/Service and Port Setting




將 80 改為


將 80 改為 7777



再度運行 xampp ,仍顯示錯誤, port 443 遭佔用


再次點右上 config/Service and Port Setting


將 port 443 改為


將 port 443 改為 4433


順利運行了





其他修正項目

修正 hpptd.conf

位置 C:\xampp\apache\conf\hpptd.conf
將 80 改為 7777

搜尋找到 80


改為 7777



找到 80


改為 7777





修正 hpptd-ssl.conf


位置 C:\xampp\apache\conf\extra\hpptd-ssl.conf
將 443 改為 4433

搜尋 Listen 443



改為 4433


搜尋 443



改為 4433





修正後執行結果

修正完後要執行了,
網址列輸入 localhost 是不會有畫面的,

改了之後,
http://localhost

要修正改成
http://localhost:7777/

會轉址成
http://localhost:7777/dashboard/

畫面就會顯示出來了





更多教學,請參閱 XAMPP教學


相關文章
Localhost 無法顯示解決方法
[Appserv]Windows找不到localhost解決方法


Localhost 無法顯示解決方法
http://sbonny.blogspot.com/2015/09/localhost-not-show-solution.html

馬上按讚 加入 [兔兔電腦教室] 粉絲團

[Appserv]Windows找不到localhost解決方法

[Appserv]Windows找不到localhost解決方法
Appserv, XAMPP



重新安裝 Windows 後,
安裝好 XAMPP 後啟動 Appserv 時,
卻連線不到本機而無法顯示

原來是 Windows 7 內部設定的問題沒打開, 
要把 C:\WINDOWS\system32\drivers\etc\hosts 內的

# 127.0.0.1       localhost

前面的#字號刪除之後再存檔
修正後,就能夠正常的連線到 localhost 了



p.s.
hosts 檔案,直接修改,
會顯示因不是系統管理者,所以不能改而無法儲存,

建議,
以系統管理者身分開啟記事本,
再由記事本,開啟舊檔的方式去開 hosts ,即可順利修改。


相關文章
Localhost 無法顯示解決方法
[Appserv]Windows找不到localhost解決方法


[Appserv]Windows找不到localhost解決方法
http://sbonny.blogspot.com/2015/09/windows7-not-find-localhost.html

馬上按讚 加入 [兔兔電腦教室] 粉絲團

加入Google+ Facebook 馬上按讚 加入兔兔電腦教室粉絲團

 

站群搜尋

含主站,論壇,部落格
自訂搜尋