FortiClient
FortiClient proactively defends against advanced attacks. Its tight integration with the Security Fabric enables policy-based automation to contain threats and control outbreaks. FortiClient is compatible with Fabric-Ready partners to further strengthen enterprises’ security posture.
aguevara16
Staff
Staff
Article Id 380387
Description This article describes how to change EMS server default Client Download Port.
Scope EMS v7.2.x and v7.4.x
Solution

By default, EMS will use port 10443 for the FortiClient download URL and port 443 for EMS console access. When creating an installer on the EMS, a download link will use this download port to access the newly created installer files:

 installers.png

 

Under EMS -> System Settings -> EMS Settings verify the port that is being used, for example:

 

default_10443.png

 

  1. To change ports in EMS v7.2.x, manually install EMS via CLI command and define the desired download and remote management port using the following command:


FortiClientEndpointManagement_7.2.x.XXXX_x64.exe ServerHostname=<preferred_host_name> ClientDownloadPort=<HTTP_port_number> RemoteManagementPort=<HTTPS_port_number> 

 

 

  1. Change the port in EMS v7.4.x: It is now running over Linux in the latest EMS versions. Use the below command to set the desired port.

 

Download/File Server Port:

 

sudo /opt/forticlientems/bin/emscli config set console --fileserver.port=<new_value>

 

HTTPS Port to access the EMS console:

 

   sudo /opt/forticlientems/bin/emscli config set console --https.port=<new_value>

 

These commands can be executed after EMS installation is complete.

 

Example in EMS v7.4.1:

 

sudo /opt/forticlientems/bin/emscli config set console --fileserver.port=60443

 

60443.png