JBoss AS7仅在Linux上可从http://127.0.0.1:8080运行 [英] JBoss AS7 only works from http://127.0.0.1:8080 on Linux

查看:106
本文介绍了JBoss AS7仅在Linux上可从http://127.0.0.1:8080运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JBoss AS7仅可在Linux上的127.0.0.1:8080中使用.

JBoss AS7 only works from 127.0.0.1:8080 on Linux.

我下载了jboss-as-7.1.1untar.

然后我运行bin/standalone.sh,它会启动,如果我尝试从127.0.0.1:8080访问它,它会很好用.

I then run bin/standalone.sh and it starts and if I try to access it from 127.0.0.1:8080 it works great.

但是如果我尝试使用IP 10.52.206.226:8080/ 的计算机访问它,则无法使用.

but If I try to access it with my computers IP 10.52.206.226:8080/ it does not work.

我的问题是:

  1. 如何授予其他计算机访问权限?
  2. 我如何告诉Jboss接收所有地址的请求?

推荐答案

您必须将服务器绑定到您的公共地址.使用命令启动服务器

You have to bind server to your public address. Start your server with command

bin/standalone.sh -b 10.52.206.226

并绑定到所有地址也应该起作用

and binding to all addresses should work too

bin/standalone.sh -b 0.0.0.0

这篇关于JBoss AS7仅在Linux上可从http://127.0.0.1:8080运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆