Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes
<Connector port="80" protocol="HTTP/1.1"

               connectionTimeout="400000"

               redirectPort="443" />

<Connector port="443" protocol="org.apache.coyote.http11.Http11NioProtocol"

               maxThreads="5" SSLEnabled="true">

        <SSLHostConfig>

            <Certificate certificateKeystoreFile="/var/lib/tomcat9/ssl/<myserver>.jks" certificateKeystorePassword="<mypassword>"

                         type="RSA" />

I have a problem that with this setting the server is only visible via http port 80. There is a timeout on https 433. Theoretically it listens to HMDM on ports 80 and 443, but I can't figure out the problem with port 443.I am new to tomcat and I kindly ask for help.
by (120 points)

1 Answer

0 votes
Tomcat is running as the 'tomcat' user, not the root user.

Therefore it couldn't open ports 80 and 443 (all ports below 1024 are reserved for root).

By default, Tomcat works on ports 8080 and 8443. You can set up port forwarding by Tomcat (Headwind MDM installer does that automatically for the HTTPS / 443 port).

So the best option for you is not adjusting Tomcat config manually, and let Headwind MDM installer do that for you. Reinstall Tomcat (to restore the original config), then download and install Headwind MDM as described here: https://h-mdm.com/advanced-web-panel-installation/
ago by (40.1k points)
...