<?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>question Re: Can't connect to Sandbox via WinSCP in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110040#M50710</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi Michael, thanks for your quick response; the port forwarding for ssh is set as host 2222 / guest 22.&lt;/P&gt;&lt;P&gt;Long time since I've done any work with port numbers but I'm guessing that's not correct?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2017 02:25:04 GMT</pubDate>
    <dc:creator>neilmorin</dc:creator>
    <dc:date>2017-01-04T02:25:04Z</dc:date>
    <item>
      <title>Can't connect to Sandbox via WinSCP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110038#M50708</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;New user here looking for some help trying to connect WinSCP to the sandbox.&lt;/P&gt;&lt;P&gt;My sandbox (2.4) on VirtualBox (running on Win10) seems to have installed fine (I can enter commands in the VM and bring up the Ambari page).&lt;/P&gt;&lt;P&gt;So far I haven't been able to transfer a file between my local machine and the sandbox though. I'm trying to do it via WinSCP (I've added 127.0.0.1   sandbox.hortonworks.com to my local machine's C:\Windows\... drivers\etc\hosts file).&lt;/P&gt;&lt;P&gt;In WinSCP I choose 'SCP' as file protocol, enter 'sandbox.hortonworks.com' as the host name, port number '22', user name 'root' and then the password - the error I get is "Network error: Connection to 'sandbox.hortonworks.com' refused". &lt;/P&gt;&lt;P&gt;From the local machine command prompt I can successfully ping sandbox.hortonworks.com but ftp'ing from there also gives a connection refused error.&lt;/P&gt;&lt;P&gt;From other threads on here I thought I may have a firewall issue but I don't think it's that... I checked that port 22 appears to be listening on the VM too (via sudo netstat -anp | grep sshd).&lt;/P&gt;&lt;P&gt;Any suggestions as to why I get the connection refused error?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:52:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110038#M50708</guid>
      <dc:creator>neilmorin</dc:creator>
      <dc:date>2022-09-16T10:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to Sandbox via WinSCP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110039#M50709</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15213/neilmorin.html" nodeid="15213" target="_blank"&gt;@Neil Morin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you check the Virtualbox network rules to see if port forwarding is properly setup?  If you ssh/scp to 127.0.0.1 on port 22, that defaults to your local computer.  If port forwarding is not setup to forward that port to the VM, then you will get a connection refused.&lt;/P&gt;&lt;P&gt;Network -&amp;gt; Advanced dropdown -&amp;gt; Port Forwarding&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11054-screen-shot-2017-01-03-at-10405-pm.png" style="width: 658px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23336iFFCA7E6707DD3D8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11054-screen-shot-2017-01-03-at-10405-pm.png" alt="11054-screen-shot-2017-01-03-at-10405-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:29:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110039#M50709</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2019-08-19T11:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to Sandbox via WinSCP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110040#M50710</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi Michael, thanks for your quick response; the port forwarding for ssh is set as host 2222 / guest 22.&lt;/P&gt;&lt;P&gt;Long time since I've done any work with port numbers but I'm guessing that's not correct?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 02:25:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110040#M50710</guid>
      <dc:creator>neilmorin</dc:creator>
      <dc:date>2017-01-04T02:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to Sandbox via WinSCP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110041#M50711</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15213/neilmorin.html" nodeid="15213"&gt;@Neil Morin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;No, that is correct.  So you need to connect with WinSCP using port 2222.  Virtualbox will forward that port to 22 on the VM.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 02:26:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110041#M50711</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2017-01-04T02:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to Sandbox via WinSCP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110042#M50712</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ah, perfect! Works now, many thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 02:31:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110042#M50712</guid>
      <dc:creator>neilmorin</dc:creator>
      <dc:date>2017-01-04T02:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to Sandbox via WinSCP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110043#M50713</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15213/neilmorin.html" nodeid="15213"&gt;@Neil Morin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Excellent, good to hear.  Please accept my answer to help others.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 02:38:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-connect-to-Sandbox-via-WinSCP/m-p/110043#M50713</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2017-01-04T02:38:48Z</dc:date>
    </item>
  </channel>
</rss>

