Skip to main content
mattia1
Staff
Staff
Oct 8, 2026 1:17 PM UTC

Technical Tip: How to change FortiMail administrative ports (HTTPS, HTTP, SSH, and Telnet)

  • Oct 14, 2026 7:32 AM UTC
  • 0 replies
  • 66 views
  • Translate All

Description

This article describes how to change the administrative port of FortiMail.

Scope

FortiMail.

Solution

  1. Navigate to System -> Configuration -> Option -> Administration Port -> HTTPS port number, HTTP port number, SSH port number, TELNET port number.

  • Under HTTPS port number, set the desired port and select Apply.

  • Under HTTP port number, set the desired port and select Apply.

  • Under SSH port number, set the desired port and select Apply.

  • Under TELNET port number, set the desired port and select Apply.


b4d3d638.png


The FortiMail HTTPS GUI can then be accessed using the new port number through https://<FortiMail IP>:<port number>/admin. For example: https://x.x.x.x:x443/admin.

Note: Changing the HTTPS port from the default value affects access to the Administrative GUI (HTTPS), REST API, quarantine service, and Webmail (server mode only).

4c7cf4f2.png


Note:

Before making any changes, create a backup.

  1. To change HTTPS, HTTP, SSH, and TELNET ports in the CLI, use 'config system global'. See the document: system global.

CLI configuration example:

FML# config system global
FML (global) # set port-https 8443
FML (global) # end

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024