Search code examples
windowsclouderafile-transferwinscp

Connection timeout error for winscp to cloudera vm


I am trying to connect Cloudera VM from my Windows desktop using Winscp for file transfer. But I am not able to connect it using winscp. It is showing me connection timeout error. Anybody has any idea how to solve this issue.

Thanks, Atul


Solution

  • I figure out, bow to do it. The error was I am referring wrong IP address. To know right IP address and connect follow below steps. First, if the Cloudera VM is running then shutdown it. Second, go to setting. refer below screenshots Click on settings

    Click on Network

    Click on Adapter2 and then set Attached to and Name as per screen shot

    Then start the Cloudera VM again. Go to terminal. Type the command ifconfig. On Consol you will find eth1 - where you have to look for ipnet, next to it is your IP address, which you have to use to connect to VM. note down the address. Go to windows. Open Winscp. Create New Site. Put the host name as the IP address which we got from consol Username- cloudera, password- cloudera Port-22 Click on Save. Click on login.

    Hope this will help.

    Thanks, Atul