Go to >> Java Tutorials
Target Audience: Beginner, Intermediate
When we configure the JBoss application in a production environment, the server need to be bind to an IP address ( in most cases). There are several ways to do it.
1. Setting as a run parameter. When we run the JBoss server in a cmd prompt, run as
run -b127.0.0.1
2. Setting it as a system property. We can set a system property which is used internally by JBoss server.
run -Djboss.bind.address=127.0.0.1
3. If we want the configuration to be permanent, then we can place the configuration inside run.bat file. Open run.bat file and search for org.jboss.Main and place the binding configuration .
E.g: org.jboss.Main -b192.168.5.29
Note: We can specify 0.0.0.0 if we want all IP addresses to be mapped to JBoss Server.
No comments:
Post a Comment