ODK Collect and ODK Aggregate Connection Error

After changing CATALINA_HOME into CATALINA.HOME and CATALINA_BASE into CATALINA.BASE, ODK aggregate starts but redirecting to the Public IP/8080 page. Please suggest how to correct.

thanks and regards