Created on 11-21-2019 06:22 AM Edited on 06-08-2022 02:31 PM By Anonymous
Description
This article explains how to change the admin default port to the custom port to avoid conflict.
Solution
In many cases, reach the FortiGate unit with ping, Telnet or SSH is possible.
Reach the GUI doesn’t work due to change in admin default port.
To access the FortiGate with the admin login via GUI, port 80 is used for HTTP and 443 for HTTPS (by default).
If these ports are changed or intended to be changed, refer to the details below:
1) Verify the current admin ports configured for admin access.
#show full | grep admin-sport <----- verify https port.
set admin-sport 443
#show full | grep admin-port <----- verify http port.
set admin-port 80
If the ports have been changed, use the below url to access the GUI:
http(s)://<IP of the Fortigate>:<custom port>
Example:
http://192.168.20.10:300: where 300 is the custom port configured to access GUI via HTTP.
Same applicable for https access as well.
For changing the admin ports, use the following commands:
#config system global
set admin-port <integer> <----- for http access.
end
#config system global
set admin-sport <integer> <----- for https access.
end
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 2023 Fortinet, Inc. All Rights Reserved.