Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Applications > Red Hat Applications Stack > Issue <<  3 of 3 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 9628
Last update: 11-24-06
Issue:
Why is my remote machine unable to connect to the JBoss AS server when connections from the local machine are successful?
Resolution:

By default JBoss AS is configured to bind only to the localhost IP address on install. This will allow connection to the server from the local machine, but not from remote machines. In order to enable remote connections, follow these steps:

  1. Bind JBoss AS to a network interface that is remotely accessible. This can be done by editing the file /etc/jbossas/jbossas.conf and changing the value for the JBOSS_IP variable. Restart the jbossas service after changing this file in order to force the server to re-read its configuration and affect any changes.
  2. Allow connections to the necessary ports (for example, 8080 for Tomcat) in the firewall configuration. Refer to the security section of the Red Hat Enterprise Linux System Administration Guide for information on configuring the firewall.

If remote access to JBoss AS services need to be enabled, enable authentication to provide security. Please refer to the recommended article below for information on securing JBoss AS.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Applications > Red Hat Applications Stack > Issue <<   3  of  3  >>