CompTIA Server+ Exam: SK0-004 | Question Answer and Troubleshooting Guide

Troubleshooting Connection Failure: FTP Server Upload Issue

Prev Question Next Question

Question

A server technician has been asked to upload a few files from the internal web server to the internal FTP server.

The technician logs in to the web server using PuTTY, but the connection to the FTP server fails.

However, the FTP connection from the technician's workstation is successful.

To troubleshoot the issue, the technician executes the following command on both the web server and the workstation: ping ftp.acme.local The IP address in the command output is different on each machine.

Which of the following is the MOST likely reason for the connection failure?

A.

A misconfigured firewall B.

A misconfigured hosts.deny file C.

A misconfigured hosts file D.

A misconfigured hosts.allow file.

D.

Explanations

A server technician has been asked to upload a few files from the internal web server to the internal FTP server.

The technician logs in to the web server using PuTTY, but the connection to the FTP server fails.

However, the FTP connection from the technician's workstation is successful.

To troubleshoot the issue, the technician executes the following command on both the web server and the workstation: ping ftp.acme.local The IP address in the command output is different on each machine.

Which of the following is the MOST likely reason for the connection failure?

A.

A misconfigured firewall

B.

A misconfigured hosts.deny file

C.

A misconfigured hosts file

D.

A misconfigured hosts.allow file.

D.

Based on the scenario provided, the most likely reason for the connection failure is a misconfigured firewall.

The fact that the technician is able to connect to the FTP server from their workstation, but not from the web server, suggests that there may be a network-level block in place preventing the web server from accessing the FTP server. This is a common scenario when there is a firewall between the two servers.

To confirm this hypothesis, the technician runs the ping command on both the web server and the workstation, and observes that the IP address returned is different on each machine. This suggests that the hostname "ftp.acme.local" is resolving to different IP addresses depending on which machine is making the request.

A misconfigured hosts file, hosts.allow file, or hosts.deny file could potentially cause hostname resolution issues, but they would affect both the web server and the workstation equally. Since the issue is only occurring on the web server, it is more likely that the problem is related to a firewall rule blocking traffic between the two servers.

To further troubleshoot the issue, the technician should examine the firewall rules on both servers and any intermediate networking devices, such as routers or switches, to determine if there is a rule in place that is preventing traffic from the web server to the FTP server. They may also consider running a network capture tool, such as Wireshark, to inspect the network traffic and identify any packets that are being dropped by the firewall.