此内容没有您所选择的语言版本。
5.3. IPv6
- Summary
- This topic covers enabling IPv6 networking for the JBoss EAP 6 installation.
Procedure 5.1. Disable the IPv4 Stack Java Property
- Open the relevant file for the installation:
For a Standalone Server:
OpenEAP_HOME/bin/standalone.conf
.For a Managed Domain:
OpenEAP_HOME/bin/domain.conf
.
- Change the IPv4 Stack Java property to false:
-Djava.net.preferIPv4Stack=false
-Djava.net.preferIPv4Stack=false
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:Example 5.8. JVM options
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Summary
Follow these steps to configure the interface inet address to the IPv6 default:
Procedure 5.2. Configure the Interface for IPv6 Networking
- Select the Configuration tab at the top of the screen.
- Expand the General Configuration menu and select Interfaces.
- Select the interface from the Available Interfaces list.
- Clickin the detail list.
- Set the inet address to:
${jboss.bind.address.management:[ADDRESS]}
${jboss.bind.address.management:[ADDRESS]}
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Clickto finish.
- Restart the server to implement the changes.
- Summary
- This topic covers configuring the JBoss EAP 6 installation to prefer IPv6 addresses through the configuration files.
Procedure 5.3. Configure the JBoss EAP 6 Installation to Prefer IPv6 Addresses
- Open the relevant file for the installation:
For a Standalone Server:
OpenEAP_HOME/bin/standalone.conf
.For a Managed Domain:
OpenEAP_HOME/bin/domain.conf
.
- Append the following Java property to the Java VM options:
-Djava.net.preferIPv6Addresses=true
-Djava.net.preferIPv6Addresses=true
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:Example 5.9. JVM options
Copy to Clipboard Copied! Toggle word wrap Toggle overflow