<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FTP - &amp;quot;Cant build Data Connection&amp;quot; Error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692731#M555293</link>
    <description>FTP is a tricky protocol to get through firewalls, because it requires several connections: the first is the control connection, which goes from the FTP client to the FTP server's port 21. This seems to work in your case.&lt;BR /&gt;&lt;BR /&gt;The problem is with the data connections, which are used to transfer the files (or even the directory listings). The data connections have no specific ports, and in some cases the _server_ opens the data connection to the _client_.&lt;BR /&gt;&lt;BR /&gt;See this page for more detail:&lt;BR /&gt;&lt;A href="http://slacksite.com/other/ftp.html" target="_blank"&gt;http://slacksite.com/other/ftp.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Actually, even that description might not be entirely correct: it says that in active mode FTP, the server forms the data connection from port 20 of the server to a random port on the client, but a modern FTP servers MAY use a random port number at the server end too.&lt;BR /&gt;&lt;BR /&gt;This means that the firewall MUST be able to read the FTP commands in the control connection to be able to properly handle all the possibilities. &lt;BR /&gt;This might require more configuration at the firewall, and the simplest firewalls might not be able to do it at all.&lt;BR /&gt;&lt;BR /&gt;If the firewall is not aware of the FTP protocol, the network team should be able to make one of the FTP modes work for you by opening a more "loose" set of ports - and they should tell you which mode is allowed.</description>
    <pubDate>Fri, 16 Dec 2005 05:45:34 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2005-12-16T05:45:34Z</dc:date>
    <item>
      <title>FTP - "Cant build Data Connection" Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692729#M555291</link>
      <description>Morning all!&lt;BR /&gt;&lt;BR /&gt;Ive been trying to ftp between two servers and am having a wierd experience. The transer works in one direction, but not the other.&lt;BR /&gt;&lt;BR /&gt;ALthough I can log in with username and password, and cd to a directory, when I do the put it hangs for a few moments and then returns "Can't build data connection: connection timed out"&lt;BR /&gt;&lt;BR /&gt;The network team are happy with the network and firewalls, and a ping also works. I foind it strange that this error only occors in one direction. &lt;BR /&gt;&lt;BR /&gt;Out of 5 servers that the one server must send files to, 2 are having this issue and the other 3 are fine.&lt;BR /&gt;&lt;BR /&gt;Any ideas please?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 16 Dec 2005 04:08:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692729#M555291</guid>
      <dc:creator>Paul Condren</dc:creator>
      <dc:date>2005-12-16T04:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: FTP - "Cant build Data Connection" Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692730#M555292</link>
      <description>Paul,&lt;BR /&gt;I sssume your error code is 425.&lt;BR /&gt;&lt;BR /&gt;This may be down to either:&lt;BR /&gt;1. Problem with access to port 20 and 21, due to firewall&lt;BR /&gt;The client attaches to port 21 on the server,who then opens a connection back to the client.&lt;BR /&gt;&lt;BR /&gt;2. tcp problems&lt;BR /&gt;3. ftp software&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 16 Dec 2005 05:19:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692730#M555292</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-12-16T05:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: FTP - "Cant build Data Connection" Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692731#M555293</link>
      <description>FTP is a tricky protocol to get through firewalls, because it requires several connections: the first is the control connection, which goes from the FTP client to the FTP server's port 21. This seems to work in your case.&lt;BR /&gt;&lt;BR /&gt;The problem is with the data connections, which are used to transfer the files (or even the directory listings). The data connections have no specific ports, and in some cases the _server_ opens the data connection to the _client_.&lt;BR /&gt;&lt;BR /&gt;See this page for more detail:&lt;BR /&gt;&lt;A href="http://slacksite.com/other/ftp.html" target="_blank"&gt;http://slacksite.com/other/ftp.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Actually, even that description might not be entirely correct: it says that in active mode FTP, the server forms the data connection from port 20 of the server to a random port on the client, but a modern FTP servers MAY use a random port number at the server end too.&lt;BR /&gt;&lt;BR /&gt;This means that the firewall MUST be able to read the FTP commands in the control connection to be able to properly handle all the possibilities. &lt;BR /&gt;This might require more configuration at the firewall, and the simplest firewalls might not be able to do it at all.&lt;BR /&gt;&lt;BR /&gt;If the firewall is not aware of the FTP protocol, the network team should be able to make one of the FTP modes work for you by opening a more "loose" set of ports - and they should tell you which mode is allowed.</description>
      <pubDate>Fri, 16 Dec 2005 05:45:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692731#M555293</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2005-12-16T05:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: FTP - "Cant build Data Connection" Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692732#M555294</link>
      <description>hi .&lt;BR /&gt;&lt;BR /&gt;just try to create /usr/bin directory under the ftp home directory. and copy the nessasary executables like ls, cd, pwd and all to these directory&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Dec 2005 06:08:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692732#M555294</guid>
      <dc:creator>Tvs</dc:creator>
      <dc:date>2005-12-16T06:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: FTP - "Cant build Data Connection" Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692733#M555295</link>
      <description>You can also try with passive mode FTP, if the servers support it. Passive changes the (weird) FTP convention of client connecting to port 21, then server connecting to client from port 20, for a more normal scheme where all connections start from the client.</description>
      <pubDate>Fri, 16 Dec 2005 06:08:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692733#M555295</guid>
      <dc:creator>Jesús Couto Fandiño</dc:creator>
      <dc:date>2005-12-16T06:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: FTP - "Cant build Data Connection" Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692734#M555296</link>
      <description>I'm almost certain it is the firewalls.&lt;BR /&gt;&lt;BR /&gt;Ive tested ftp to the server giving the error from another server in the dadacenter ant its workef fine, so its only the connection from one specific point thats the problem. Still strange that transfers in the oposite direction, thru the same firewalls work.</description>
      <pubDate>Fri, 16 Dec 2005 06:09:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692734#M555296</guid>
      <dc:creator>Paul Condren</dc:creator>
      <dc:date>2005-12-16T06:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: FTP - "Cant build Data Connection" Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692735#M555297</link>
      <description>Paul - you have now experienced first hand why some folks - who aren't even "grey hats" do not like firewalls at all.  If they aren't stateful they cannot deal with stuff like FTP transparantly, and if they are stateful, they tend to have limited state and so are unwilling to deal with long-lived connections.</description>
      <pubDate>Mon, 19 Dec 2005 12:30:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-quot-cant-build-data-connection-quot-error/m-p/3692735#M555297</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-12-19T12:30:04Z</dc:date>
    </item>
  </channel>
</rss>

