Question 163 of 1,000
System and Network AdministrationmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is a firewall blocking the required ports between FortiGate and FortiAnalyzer. This is because the “connection refused” error occurs when the FortiGate’s TCP SYN packet reaches the FortiAnalyzer, but the target port—such as TCP 514 for syslog or TCP 443/8443 for the FortiGate-FortiAnalyzer protocol—is not open or is actively rejected by a firewall rule on the network path or the FortiAnalyzer itself. On the Fortinet NSE 4 Network Security Professional exam, this scenario tests your understanding of how FortiAnalyzer integration relies on bidirectional port access; a common trap is assuming the issue is a misconfigured IP or logging settings, but the refused handshake points directly to a firewall blocking the connection. Remember: if you see “connection refused,” think firewall first—not DNS or routing. A quick memory tip: “Refused means the door is locked, not that the address is wrong.”

NSE4 System and Network Administration Practice Question

This NSE4 practice question tests your understanding of system and network administration. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

An administrator needs to integrate a FortiGate with FortiAnalyzer for centralized logging. After configuring the FortiAnalyzer IP and enabling logging, the FortiGate shows 'connection refused' for FortiAnalyzer. What is the most likely cause?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

A firewall is blocking the required ports between FortiGate and FortiAnalyzer.

The 'connection refused' error indicates that the FortiGate is attempting to establish a TCP connection to the FortiAnalyzer, but the FortiAnalyzer is actively rejecting the connection attempt. This is most commonly caused by a firewall (either on the network path or on the FortiAnalyzer itself) blocking the required ports, such as TCP 514 (syslog) or TCP 443/8443 (FortiGate-FortiAnalyzer protocol). Without proper port access, the TCP handshake fails, resulting in a connection refused message.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The FortiAnalyzer is not registered with the FortiGate.

    Why it's wrong here

    Registration is not required for basic logging.

  • The FortiGate is not generating any logs.

    Why it's wrong here

    Even if no logs, connection would be established.

  • The FortiAnalyzer SNMP community string is incorrect.

    Why it's wrong here

    SNMP is not used for logging.

  • A firewall is blocking the required ports between FortiGate and FortiAnalyzer.

    Why this is correct

    Ports 514/443 must be open.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse 'connection refused' with 'no route to host' or 'timeout', and may incorrectly attribute the issue to registration or log generation rather than recognizing that a TCP-level rejection points to a firewall or port blocking issue.

Detailed technical explanation

How to think about this question

The FortiGate-FortiAnalyzer integration typically uses TCP port 514 for syslog or TCP ports 443/8443 for the FortiGate-FortiAnalyzer protocol (FortiGate's log forwarding). The 'connection refused' error is a TCP RST response, indicating that the destination host (FortiAnalyzer) is reachable but no service is listening on the specified port. In real-world scenarios, this often occurs when the FortiAnalyzer's firewall service (e.g., iptables or Windows Firewall) is enabled and blocking inbound connections, or when an intermediate network firewall is dropping the SYN packets without sending a RST, but a 'connection refused' specifically points to the host actively rejecting the connection.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related NSE4 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free NSE4 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this NSE4 question test?

System and Network Administration — This question tests System and Network Administration — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: A firewall is blocking the required ports between FortiGate and FortiAnalyzer. — The 'connection refused' error indicates that the FortiGate is attempting to establish a TCP connection to the FortiAnalyzer, but the FortiAnalyzer is actively rejecting the connection attempt. This is most commonly caused by a firewall (either on the network path or on the FortiAnalyzer itself) blocking the required ports, such as TCP 514 (syslog) or TCP 443/8443 (FortiGate-FortiAnalyzer protocol). Without proper port access, the TCP handshake fails, resulting in a connection refused message.

What should I do if I get this NSE4 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on NSE4

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A FortiGate administrator needs to integrate with FortiAnalyzer for centralized logging. After configuring the FortiAnalyzer IP and enabling logging, the FortiGate shows 'connection status: disconnected'. What is the most likely cause?

medium
  • A.The FortiGate is in transparent mode.
  • B.The FortiAnalyzer firmware version is newer than the FortiGate's.
  • C.The administrator forgot to enable HTTPS for log upload.
  • D.The FortiGate does not have a route to the FortiAnalyzer.

Why D: The most likely cause is that the FortiGate does not have a route to the FortiAnalyzer. Even with the correct IP and logging enabled, the FortiGate must be able to reach the FortiAnalyzer over the network; without a valid route, the TCP connection (typically on port 514 for syslog or port 443/541 for FortiGate-FortiAnalyzer protocol) will fail, resulting in a 'disconnected' status.

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This NSE4 practice question is part of Courseiva's free Fortinet certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the NSE4 exam.