App trying to redirect... Stopped working

Not sure what I have done, but for some reason when I start my app I cannot access it at localhost:8080/app.

It keeps trying to redirect to port 8443. But that does not work either. I did have it set up to work on 8443 but then thought I had reset everything. Not sure what is wrong now…

Is there a way to reset all tomcat settings to default?

Have searched through pretty much every file in the app and cannot find where it is setting the redirect.

I have attached the app files if anyone wants to help me solve this. Driving me crazy!

Hi,
Look at web.xml in web-module. I have removed the following code from the file and redirection to https disappeared.

<security-constraint>
        <web-resource-collection>
            <web-resource-name>securedapp</web-resource-name>
            <url-pattern>/*</url-pattern>
        </web-resource-collection>
        <user-data-constraint>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
    </security-constraint>

Regards.

Thanks man,
Couldn’t find this anywhere - much appreciated!