Forum Discussion

bill_w's avatar
bill_w
New Contributor
9 years ago

server running on IPv6 instead of IPv4

I just installed the Code Reviewer to try out on a Linux ubuntu 14.04 LTS machine.  I already had a service on port 8080, so I put this at port 8888.  I can access it fine on the local linux machine,...
  • bill_w's avatar
    9 years ago

    I found the problem.  I needed to update the Linux firewall to allow accesses to port 8888.  I did this with the following command.

    sudo ufw allow 8888

    I also found out how to force IPv4 usage instead of IPv6.  That probably wasn't my problem, but I found out how to do it and thought I would pass this on too.  I modified the ccollab-server.vmoptions file in /opt/ccollab_server folder.  I added the following two lines:

    -Djava.net.preferIPv4Stack=true
    -Djava.net.preferIPv4Addresses=true

    This will direct the Tomcat and Catalina processes to use IPv4.