Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-86616

Error message when configuring virtual instance with IPV6

    Details

      Description

      Steps to reproduce:

      1. Set these properties in portal-ext.properties
        1. redirect.url.ips.allowed=127.0.0.1,SERVER_IP,0:0:0:0:0:0:0:1
        2. tunnel.servlet.hosts.allowed=0:0:0:0:0:0:0:1
      2. In tomcat/bin, set "-Djava.net.preferIPv4Stack=false" in setenv.sh or setenv.bat for window
      3. Start up portal instance
      4. Instead of localhost:8080, use [0:0:0:0:0:0:0:1]:8080
      5. Sign in
      6. Navigate to Control Panel > Configuration
      7. Click Virtual Instances
      8. Create virtual instance
        1. Web ID: 0:0:0:0:0:0:0:2
        2. Virtual Host: 0:0:0:0:0:0:0:2
        3. Mail Domain: liferay.com
      9. Save

      Expected result:
      Virtual instance is successfully created.

      Actual result:
      Error:Please enter a valid virtual host.

      *In order to navigate to the new instance setup with IPv6, you need to add the IPv6 address as loopback alias to your network interface. On macOS, the commands to add and delete a IPv6 address

      // add IPv6 address ::2
      
      sudo ifconfig en0 inet6 ::2 alias
       
      // delete IPv6 address ::2
      
      sudo ifconfig en0 inet6 delete ::2

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              koor.gai Koor Gai
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                23 weeks, 6 days ago

                  Packages

                  Version Package
                  7.3.X
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  Master