Skip to main content
Akbar22
New Member
October 16, 2022
Question

FortiManager: login GUI

  • October 16, 2022
  • 4 replies
  • 4116 views

Hello,

I installed the #Fortimanager and tried to log in to the GUI using FortiCloud and Fortimanager credentials both give the error message "Couldn't resolve hostname", I am not able to get to the web GUI

 

Anyone could help here, please?

 

|Thank you 

Fortimanager.png

4 replies

Jean-Philippe_P
Staff & Editor
Staff & Editor
October 19, 2022

Hello Akbar22,

 

Thank you for your post on the Fortinet Community website!

 

I found this documentation for you, can you tell me if it resolved your problem please ?

 

https://help.fortinet.com/fmgr/vm-install/56/Document/800_Initial_Configuration/801_GUI_Access.htm

 

Kindest Regards,

Jean-Philippe - Fortinet Community Team
Akbar22
Akbar22Author
New Member
October 23, 2022

Thank you Jean,

 

Before posting on the community I have already gone through the documents you recommended, unfortunately it did not work and it is still not working.

heng
Staff
Staff
October 24, 2022

Hi there, 

 

Try, 

 

1) Login via CLI SSH and try ping to any of the FQDN and make sure it able to resolve. 

 

exe ping www.fortinet.com 

 

2) If not able to resolve, check configured DNS setting, if the system DNS is correct, then check step (3).

 

show system dns

 

3) Make sure the outgoing DNS port is allow by your upstream device, if there is DNS response, you should see the response accordingly. 

 

diag sniffer packet any 'port 53' 4 0

 

4) Also, make sure your upstream device allow outgoing port TCP/443.

Abdullah98
New Member
November 18, 2025

I know this post is old, but I faced the same issue today and found the solution, so I’m sharing it here in case it helps someone else.

My FortiManager VM could ping public IPs (like 8.8.8.8) without any problem, but it failed when trying to ping domain names such as www.google.com.

The cause turned out to be very simple: DNS was not configured on FortiManager.
Once I manually set DNS servers, everything worked immediately.

Fix

Run the following in the FortiManager CLI:
config system dns
set primary 8.8.8.8
set secondary 1.1.1.1
end

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.