Open catalina.sh in the <tomcat>/bin directory and add the following:
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true "
add here
(Restart the process after saving. If ipv4 is still not bound, remove the content added in catalina.sh, then create a new setenv.sh in the <tomcat>/bin directory, and then add the following content:
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true ")
(restart the process after saving)