无法从通过 LAN 连接的其他系统访问部署在 jboss 上的 Web 应用程序
我已经在 jboss 上部署了我的 Web 应用程序。我的同事无法从该系统访问相同的应用程序。我们的系统通过 LAN 连接。这个应用程序在我这边运行良好。当我们尝试从其他系统运行它时,它会抛出
错误消息:
连接已超时
190.185.0.137 处的服务器响应时间过长。
我尝试用命令启动jboss: run.bat -b 190.185.0.137
如何解决此问题?
谢谢..
I have deployed my webapplication on jboss. My colleagues are not able to access same appication from there system. Our systems are connected through LAN. This application is working fine at my side. When we try to run it from other system its throwing message as
Error:
The connection has timed out
The server at 190.185.0.137 is taking too long to respond.
I tried to start jboss with command:
run.bat -b 190.185.0.137
How can I resolve this issue?
Thanks..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果仍然面临这个问题,希望这会有所帮助。
我正在使用 JBoss eap 6.1 并遇到了同样的问题。因此,我只需在服务器行为部分中启用“侦听所有接口以允许远程 Web 连接”复选框
Hope this will help if still facing this issue.
I am using JBoss eap 6.1 and faced the same problem. So, I just had to enable the checkbox "Listen on all interfaces to allow remote web connections" in the Server Behaviour Section
尝试 run.bat -b 0.0.0.0 ,这将绑定到每个 IP,以防万一。
还值得检查一下他们是否可以
Ping
您?当您执行此操作时,请使用
netstat -an
检查 JBoss 是否确实绑定到正确端口上的正确 IP您应该在端口 8080(或您运行它的任何端口)上看到 JBoss 的条目
Try
run.bat -b 0.0.0.0
That will bind to every IP, just in case.Also worth checking that they can
Ping
you?And while you are at it, check if JBoss has actually bound to the correct ip on the correct port with
netstat -an
You should see an entry on port 8080 (Or whatever port you are running it on) for JBoss
请检查您的防火墙是否允许来自运行 JBoss 的端口上的远程计算机的传入连接。正如前面提到的,这似乎不是 JBoss 的问题。
Please check if your firewall allows incoming connections from remote machines on the port where JBoss is running. As mentioned earlier, this does not seem to be a JBoss problem.