Connection through SOCKS server to FTP server fails

A SOCKS connection involves a connection between the client and SOCKS server, and the SOCKS server and the target server.

When a connection fails, try to isolate the point of failure by checking the following:
  • Can client connect to the SOCKS server host?

    Use the client SOC(2) trace and the DUMP 85 trace during connection establishment, and inspect any messages to gain insight into whether the client was able to connect to the SOCKS server.

  • Is the link between the client and the SOCKS server good?

    Use ping to test the link.

  • Is the SOCKS server active?
  • Is the SOCKS server configured to reject the connection?

    Contact the administrator of the SOCKS server for assistance.

  • Is the link between the SOCKS server and the FTP server good?

    Ask the administrators of the SOCKS server and the FTP server to verify the link.

  • Is the FTP server active and accepting connections?

    Contact the administrator of the FTP server. For the z/OS® FTP server, activate the trace and check the syslog to determine whether the FTP server received a connection from the SOCKS server on behalf of the client.