JBoss LAN Access

Source: Internet
Author: User
Tags jboss

JBoss LAN cannot be accessed, and the local machine cannot be accessed through the lan ip Address

Cause:
JBoss 4.2 or later versions only listen to 127.0.0.1 if any parameter is not added, that is, only 127.0.0.1 or

Localhost access, which cannot be accessed from the external address of the Local Machine. Other hosts in the same network cannot be accessed, unless you use the-B IP Address

To bind the listening address.

This is different from the previous version of JBoss. The previous version does not add any parameter to listen to all the IP addresses of the Local Machine. Now, you must use the Parameter

-B 0.0.0.0 to listen to all addresses.

Solution:

1. Add the Run-B LAN IP address to the fast-cut command

2. Modify the jboss-4.2.0.GA/Server/default/deploy/jboss-web.deployer/server. XML

Change the address to the corresponding IP address or 0.0.0.0 to use the IP address for access.

JBoss LAN cannot be accessed, and the local machine cannot be accessed through the lan ip Address

Cause:
JBoss 4.2 or later versions only listen to 127.0.0.1 if any parameter is not added, that is, only 127.0.0.1 or

Localhost access, which cannot be accessed from the external address of the Local Machine. Other hosts in the same network cannot be accessed, unless you use the-B IP Address

To bind the listening address.

This is different from the previous version of JBoss. The previous version does not add any parameter to listen to all the IP addresses of the Local Machine. Now, you must use the Parameter

-B 0.0.0.0 to listen to all addresses.

Solution:

1. Add the Run-B LAN IP address to the fast-cut command

2. Modify the jboss-4.2.0.GA/Server/default/deploy/jboss-web.deployer/server. XML

Change the address to the corresponding IP address or 0.0.0.0 to use the IP address for access.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.