How to resolve port 443 Conflict with the Apple Server Application

This guide will go over how to free up port 443 on your macOS machines if the port is already in use by the macOS Server Application running on it. This will involve either uninstalling the Apple Server Application from your mac server that is being used to run the FileWave server or by modifying the configuration file so that the Server Application will not use the port. You can run in to this error when trying to installing FileWave for the first time on a macOS server or when upgrading to FileWave 13. With FileWave you do not need Apple Server installed and running on the device. This process will involve restarting the FileWave server services. 

Step-by-step guide

The guide will go through modifying a configuration file on your FileWave server and then restarting the FileWave server processes. The process will involve restarting the server services but will not involve much downtime on your server. 

When you run the FileWave install on your server and you receive the above error you can use the below steps to resolve the issue. You are also able to look in the "/var/log/install.log" for more information on the install error and it will reference that port 443 is already in use. 

  1. You will need to modify "/Library/Server/Web/Config/Proxy/apache_serviceproxy.conf" this file on your Server. First step will be to make a copy of the file if you do need to revert the changes. 
    1. sudo cp /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf.bak

  2. Now you will need to open the file to modify the setting
    1. sudo vi /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf

  3. You will need to comment out (#) the below lines in the configuration file to match below. 

  4. Then you will need to save the file by selecting "esc" ":wq!". 

  5. After the changes have been made you will need to stop the FileWave Server services if you are upgrading the server and stop any apache process. If you are installing FileWave for the first time you will not need to stop the services. 
    1. sudo fwcontrol server stop
    2. killall httpd
  6. You are now ready to run the FileWave server installer and it will complete without failing for port 443 being in use. 

Related articles

There is no content with the specified labels