java.io.IOException: Host attempting data connection 10.2.0.24 is not same as server 192.168.192.23 at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:536)

jsystemtest | ogeva | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ftpClient - what am I doing wrong?

    jsystemtest | 6 years ago | ogeva
    java.io.IOException: Host attempting data connection 10.2.0.24 is not same as server 192.168.192.23 at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:536)

    Root Cause Analysis

    1. java.io.IOException

      Host attempting data connection 10.2.0.24 is not same as server 192.168.192.23 at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:536)

      at org.apache.commons.net.ftp.FTPClient.retrieveFile()
    2. Commons Net
      FTPClient.retrieveFile
      1. org.apache.commons.net.ftp.FTPClient.retrieveFile(FTPClient.java:1285)
      1 frame