jboss绑定地址

发布于 2024-11-17 19:59:33 字数 983 浏览 3 评论 0原文

我正在使用 Mac 并在最新的 IE 版本上测试我的 java 应用程序,我需要远程登录到我们的 Windows 服务器之一。

因此,我在本地启动 jboss,将地址绑定到我的机器名称,例如......

run.sh -b mymachine-00621323

在我登录到远程服务器并 ping 机器名称后,我得到了正确的答复。

ping mymachine-00621323.corp.company.com

Pinging mymachine-00621323.corp.company.com [10.138.1.116] with 32 bytes of data:
Reply from 10.138.2.116: bytes=32 time=34ms TTL=61
Reply from 10.138.2.116: bytes=32 time=2ms TTL=61
Reply from 10.138.2.116: bytes=32 time=2ms TTL=61
Reply from 10.138.2.116: bytes=32 time=104ms TTL=61

Ping statistics for 10.238.6.116:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 104ms, Average = 35ms

但是,如果我从同一远程桌面服务器的 IE 点击以下网址,它不会显示该页面。

http://mymachine-00621323.corp.company.com:8080/abc/login.xhtml

在IE中的“工具”--“Internet选项”--“安全”选项卡下,我尝试将其添加到受信任站点列表中,并确保安全级别为中等。它也没有帮助。

请建议。

I am using Mac and to test my java application on latest IE version, I need to remote login to one of our Windows server.

So I am starting jboss locally binding the address to my machine name like..

run.sh -b mymachine-00621323

After I login to remote server and ping for the machine name, i am getting proper reply.

ping mymachine-00621323.corp.company.com

Pinging mymachine-00621323.corp.company.com [10.138.1.116] with 32 bytes of data:
Reply from 10.138.2.116: bytes=32 time=34ms TTL=61
Reply from 10.138.2.116: bytes=32 time=2ms TTL=61
Reply from 10.138.2.116: bytes=32 time=2ms TTL=61
Reply from 10.138.2.116: bytes=32 time=104ms TTL=61

Ping statistics for 10.238.6.116:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 104ms, Average = 35ms

However, If I hit the below url from IE from the same remote desktop server, it does not display the page.

http://mymachine-00621323.corp.company.com:8080/abc/login.xhtml

In IE under Tools--Internet Options--SecurityTab, I tried adding it to list of trusted sites and also ensured that the security level is at medium. It dint help either.

Please suggest.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

桃酥萝莉 2024-11-24 19:59:33

可能的原因/解决方案:

  • 尝试绑定到所有地址(run.sh -b 0.0.0.0)并查看是否可以连接。您的计算机主机名可以映射到本地不同的地址,因此您最终可能只是在本地主机上绑定 JBoss。 (例如,如果您的主机名在主机文件中指向 127.0.0.1)

  • 在远程计算机上尝试不同的浏览器和/或检查您正在使用的浏览器中的任何代理设置。 IE 尤其可以使用组策略定义的代理,这些代理可能不知道如何访问内部地址。

  • 如果上述方法均不起作用,则可能是本地 Mac 或远程 Windows 计算机上的防火墙问题。 Ping 并不意味着所有访问都会起作用,因为通常会启用/阻止各个端口/服务。如果您无法连接到最低级别的 JBoss 端口(例如使用 telnet),则可能是防火墙问题。

Possible causes/solutions:

  • Try to bind to all addresses ( run.sh -b 0.0.0.0 ) and see if you can connect then. Your computer hostname could be mapped to a different address locally, so you might just end up binding JBoss on localhost. (For example if you have your hostname pointed to 127.0.0.1 in your hosts file)

  • Try a different browser on the remote computer and/or check for any Proxy Settings in the browser you are using. IE especially could use group-policy defined proxies which might not know how to access internal addresses.

  • If none of the above work, it could be a firewall issue on the local Mac or remote Windows computer. Ping does not mean all access will work, since usually individual ports/services are enabled/blocked. If you can't connect to the JBoss port on the lowest level (by using telnet for example), then it might be a firewall issue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文