2016-02-19 2870 views
0
  1. 我克隆Spacebrew repo
  2. 我安裝了websocketforever模塊(npm install wsnpm install forever-monitor
  3. 我開始Spacebrew(node node_server_forever.js
  4. 我去http://localhost:9000/http://localhost:9000/admin/index.html在我的瀏覽器,頁面顯示:

Upgrade Required如何解決空間錯誤:服務器響應狀態爲426(需要升級)?

控制檯上有兩個錯誤:

http://localhost:9000/favicon.ico 
Failed to load resource: the server responded with a status of 426 
(Upgrade Required) 
http://localhost:9000/ 
Failed to load resource: the server responded with a status of 426 
(Upgrade Required) 

我錯過了什麼嗎?

回答

1

管理界面不由SB服務器託管。這是一個靜態頁面。有一個副本http://spacebrew.github.io/spacebrew/admin/admin.html將嘗試連接到本地端口SB服務器端口9000.您可以提供querystrings連接到遠程服務器或不同端口:http://spacebrew.github.io/spacebrew/admin/admin.html?server=specialdoma.in&port=9999

+0

好吧,我不明白這個+我跑到[此問題](https://github.com/Spacebrew/spacebrew/issues/55),因爲我使用的是舊版本的node.js。 –

相關問題