Choosing IPv4 or IPv6

Liferay DXP supports both the IPv4 and IPv6 address formats. By default, Liferay DXP uses IPv4 addresses. If you’re on an IPv6 network, you’ll need to change the configuration. If you’d like more information on the basics of these protocols, you can check out the reason for using IPv6 addresses, and its technical details.

To configure your portal to validate IPv6 addresses, you must complete a few simple steps:

  1. Assuming you’re using the Tomcat app server for your portal, edit the setenv.sh or setenv.bat file in the ${TOMCAT_HOME}/bin folder and set -Djava.net.preferIPv4Stack=false in CATALINA_OPTS.
  2. Create a portal-ext.properties file in your portal’s Liferay Home folder (if one does not already exist) and set the tunnel.servlet.hosts.allowed property to the target hosts you want to allow (e.g., 0:0:0:0:0:0:0:1).
« Setting Up Marketplace and Portal SecurityIntroduction to Configuring Liferay DXP »
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0