The process of changing the default web admin port is described here in
the 7.0.3 administration guide:-
https://docs.fortinet.com/document/fortigate/7.0.3/administration-guide/616955/configuring-ports
You didn’t say which software version you were u...