Red Hat Applications > Red Hat Applications Stack > Issue
<<
3 of 3
>>
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:
- 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.
- 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.
Red Hat Applications
>
Red Hat Applications Stack
> Issue
<<
3
of
3
>>