-
1. Re: Jboss starts but getting Host Unreachable
cullendw May 5, 2010 2:31 AM (in response to eflat)Does the same problem occur if try "/usr/local/jboss-5.1.0.GA/bin/run.sh -b 192.168.1.252"?. (Have a look at http://community.jboss.org/thread/111170 )
-
2. Re: Jboss starts but getting Host Unreachable
eflat May 5, 2010 1:53 PM (in response to cullendw)When starting it as you suggested, I basically get the same behaviour: curl "http://192.168.1.252:8080" works from the machine jboss is on, but doesn't work from other machines on the network, though the machine is pingable. The other thread referenced sounds similar, but I can't see there's a solution there for me. Still need suggestions on what may be wrong.
-
3. Re: Jboss starts but getting Host Unreachable
peterj May 5, 2010 2:09 PM (in response to eflat)Are you running SELinux? Are you runnign a firewall and if so did you open port 8080?
-
4. Re: Jboss starts but getting Host Unreachable
eflat May 5, 2010 5:44 PM (in response to peterj)It's actually CentOS, but you were right about the local firewall - thanks! (until the next hang up)
-
5. Re: Jboss starts but getting Host Unreachable
peterj May 5, 2010 5:46 PM (in response to eflat)Actually, SELinux is *not* a distro, it is a security app that comes with RHEL and Fedora and often locks things down more than what you would like.
-
6. Re: Jboss starts but getting Host Unreachable
cullendw May 6, 2010 12:43 AM (in response to peterj)Thanks to Peter for sorting this one out.
Just to conclude my thought (in case it is applicable to anyone else), We had a similar issue, but we were binding to the ${HOSTNAME} instead of an IP address. In the /etc/hosts file, the ${HOSTNAME} was mapped to localhost so external clients could not access any of the jboss services. I have not worked much with "-b 0.0.0.0" so I thought maybe it could only bind to localhost for some reason, creating a similar issue.
-
7. Re: Jboss starts but getting Host Unreachable
peterj May 6, 2010 8:05 AM (in response to cullendw)Yes, having an incorrectly set up /etc/hosts file will cause a number of problems.