I have multiple tomcat servers with independent configurations running in the same server at different ports. Recently converted few tomcat servers from http to https. So the strange problem is:
Application 1: running at https://x.y.z.w:10001 (https) Application 2: running at http://x.y.z.w:8888 (http)
If I access Application 2 from my browser (chrome/firefox) first it works fine.
If I access Application 1 first and later Application 2, Application 2 URL is getting changed to https://x.y.z.w:8888 automatically. Even if I restart the browser, Application 2 URL getting redirected to https. After this the only way to solve this problem is to delete browser cache and access Application 2 first.
How to prevent Application 2 URL getting redirected to https automically?