I tried changing the SSL port number on my Tomcat server in my Windows Server 2008 machine and I kept getting the following error when going to the https version of my webapp:
Socket bind failed: [730048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
To solve the problem I did the following:
- Re-installed apache using the Windows service installer and specifying the JDK’s JRE as the JRE to use.
- Set the keystoreFile attribute in the SSL connector tag in the server.xml file to a relative path. The path is based in Tomcat’s installation folder, so if you intalled it in c:\apache and specify ./mykey.bin in the keystoreFile attribute, Tomcat will try to find the c:\apache\mykey.bin file.
Comments