簡體   English   中英

開發模式下的GWT + AppEngine應用程序在本地網絡上不可用

[英]GWT + AppEngine app in dev mode not available on local network

我正在開發一個GWT + AppEngine應用程序。 一切正常,除非我在開​​發模式下運行該應用程序在本地網絡上的機器上不可見。

即使在本地計算機上http:// localhost:8080 / app正在運行,而http://192.168.xx:8080 / app也不可用。

有任何想法如何解決這個問題?

嘗試在您的appengine配置中添加-a 0.0.0.0

當您需要調試移動應用程序時,此模式特別有用。 執行此操作的官方方法是在啟動應用程序時使用command參數:

-bindAddress 0.0.0.0

http://code.google.com/p/google-web-toolkit/wiki/TroubleshootingOOPHM

使用Eclipse,您可以在Run configuration - Arguments - Program arguments中設置它

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM