Hi, I installed JBoss 4.2.2 GA on Fedora Core 6.0, using server/default.
I can access it using http://localhost, but I can not access it using ip address.
$wget localhost
--17:05:13-- http://localhost/
Resolving localhost... 127.0.0.1, ::1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
$wget 123.456.789.9
--17:04:55-- http://123.456.789.9/ (not real ip)
Connecting to 123.456.789.9:80... failed: Connection refused.
On the same machine,
it worked fine for JBoss 4.0.5GA, and it can be accessed using ip address. So it is not a firewall issue. Actually I have disabled firewall.
I do not understand why it can be accessed using localhost, but not by ip address, without firewall.
Could some one help me. Thanks!
David
Use the -b option to start JBoss. Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ