如何从另一台机器上看到GWT Jetty devmode? [英] How to see GWT Jetty devmode from another machine?
问题描述
当我启动Jetty时,它给了我标准URL: http://127.0.0.1:8888/index.jsp?gwt.codesvr=127.0.0.1:9997
太好了。我可以从我的机器上看到这个URL。但是,我无法从其他机器访问此URL,并且使用我的实际IP地址替换127.0.0.1也不起作用。
有谁知道我可以如何让我的服务器共享,以便我的网络中的其他人也可以击中我的机器? 解决方案
尝试启动服务器 -bindAddress
选项使用您的外部IP。请参阅此。
When I fire up Jetty, it gives me the standard URL: http://127.0.0.1:8888/index.jsp?gwt.codesvr=127.0.0.1:9997
Great. I can see this URL from my machine. However, I cannot access this URL from other machine, and replacing the 127.0.0.1 with my actual IP address does not work either.
Does anyone know how I can make my server "sharable" so that other people in my network can hit off my machine as well?
Try to start the server with -bindAddress
option using your external IP. See this.
这篇关于如何从另一台机器上看到GWT Jetty devmode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!