Description
This article explains how to change the admin default port to the custom port to avoid conflict.
Scope
FortiGate.
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:
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
From GUI: Navigate to System -> Settings .
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 2024 Fortinet, Inc. All Rights Reserved.