java 如何从远程主机访问 Glassfish V3 管理控制台网站

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2152947/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 19:43:45  来源:igfitidea点击:

How do I access Glassfish V3 Administration Console Website from a remote host

javajakarta-eeglassfishapplication-serverglassfish-3

提问by Tom

I have installed Glassfish v3 on a standalone server running ubuntu-server 9.10.

我已经在运行 ubuntu-server 9.10 的独立服务器上安装了 Glassfish v3。

I can open the Admin website if I use a browser running on the server by browsing to: http:// localhost:4848/

如果我使用在服务器上运行的浏览器浏览到:http://localhost:4848/,我可以打开管理网站

I would like to access it from a remote machine by browsing to something like http:// mydomain.com:4848/

我想通过浏览到 http://mydomain.com:4848/ 之类的东西从远程机器访问它

The firewall is definitely allowing traffic through on that port (4848) and I can access the application server by browsing to: http:// mydomain.com:8080/

防火墙绝对允许该端口 (4848) 上的流量通过,我可以通过浏览到:http://mydomain.com:8080/ 来访问应用程序服务器

How can I allow remote access to the administration website?

如何允许远程访问管理网站?

回答by vkraemer

It is 'allowed' by default, so there may be some you may need to ask a different question...

默认情况下它是“允许的”,因此您可能需要提出不同的问题...

回答by Andreas Dolk

This answermentions the configuration of listeners for the admin console. Although it focusses on SSL, this configuration area may be the place where you can enable/disable access to the admin console from other other host.

这个答案提到了管理控制台的监听器配置。尽管它专注于 SSL,但此配置区域可能是您可以启用/禁用从其他主机访问管理控制台的地方。