I need help with my website that is served over https from Tomcat and includes a service worker for fetching and storing resources in the cache. Everything works well when Tomcat is running, but I have run into an issue. My Tomcat configuration includes a redirectPort attribute to redirect http to https. The problem arises when Tomcat is not running - if the webpage is accessed via http, the browser displays a "Connection refused" error since the http 302 redirect is not cached. How can I address this issue?