Created on
09-27-2021
10:22 AM
Edited on
09-25-2025
02:00 AM
By
Jean-Philippe_P
Description
This article describes the issue while implementing SSL VPN initial configuration from the GUI, where a warning 'Port conflicts with the administrative HTTPS port for this system' appears.
This occurs because FortiOS is configured to use port-443 by default for 'SSL-VPN & WEB-GUI', prompting the administrator to choose a different port to prevent conflicts.
By default, when the administrative HTTPS port and SSL VPN port are the same, admin GUI connections are blocked on the SSL VPN-enabled interface.
config vpn ssl settings
set port-precedence enable/disable
end
Enable (default value) means that if SSL-VPN connections are allowed on an interface, admin GUI connections are blocked on that interface.
Scope
FortiGate.
Solution
Administrators can either change the SSL VPN port to any custom port, for example: 10443, 4443, or change the administrative HTTPS port for GUI access to any custom port.
From the GUI.
Navigate to VPN -> 'SSL-VPN Settings'.
It is necessary to modify the administrative HTTP port (default: 80) to another custom port (e.g., 8080) to address this warning altogether (attachment below).
In rare cases, even after changing the default HTTP port for administrative access and configuring the SSL VPN to use a port other than 80 with 'Redirect to HTTPS' disabled, some SSL VPN daemons may still listen on port 80. This behavior can interfere with ACME certificate generation and result in the following error:
Port 80 already in use by sslvpn
attribute set operator error, -23, discard the setting
Command fail. Return code -23"
Identify which service is using TCP port 80:
diagnose sys tcpsock | grep 80
To resolve the issue, restart the SSL VPN daemon or reboot the FortiGate:
fnsysctl killall sslvpn
Related article:
To change the admin GUI port: Technical Tip: How to change the port for the admin access to avoid port conflict
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.