Solved

Problem in connecting two virtual machines

Posted on 2009-06-28
7
401 Views
Last Modified: 2012-05-07
Hello experts

While connecting two virtual machines in vmware workstation using telnet or ftp services i am getting this error

Unable to connect to remote hosts. Connection refused.

Please need your assistance.
0
Comment
Question by:newbie27
7 Comments
 
LVL 5

Assisted Solution

by:netbones
netbones earned 100 total points
ID: 24731697
Are the VM's ethernet adapters in bridge mode (using the host PC's ethernet adapters directly) or on private VM networks?
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 24731729
In addition to the above question, can you ping one VM from the other. You should be able to whether NAT or Bridged. ... Thinkpads_User
0
 
LVL 3

Accepted Solution

by:
fireline1082 earned 200 total points
ID: 24731790
Hi newbie27,

As my colleagues said you have first to check whether both machines can ping each other. If not, then you have to adjust the network adapter settings in both virtual machines. Make the network setting to be the same on both. Use Bridge / Nat if you want to share the connection from the host machine or (recommended) to create local network (isolated from the host) for those two virtual machines.

For FTP and telnet thing, you have to enable them on the machine in order to be able to use them. Telnet can be enable from Control Panel > Administrative Tools > Services> TELNET. Right click Telnet and go to properties, then change the startup type to automatic and start the service. This should be done on the machine that you want to access

FTP needs to be installed from Add Remove Program > Add windows components > click Internet Information Service (IIS) and click Details; Then Tick (select) FTP service and go to next > Next until you instal this service. Make sure that this service is running after installation is done by going to Services (similar to telnet above) and confirm that it is started.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 8

Author Comment

by:newbie27
ID: 24736600
@fireline1082

To your kind notice have configured two Linux VM's using Bridged network on Windows XP as a host machine. Both Linux machines are pinging well to each other, but when i am going with either telnet or ftp then facing the same problem

Unable to connect to remote host. Connection refused

Why the statement says that i am unable to connect to remote host? as i am trying to access to one of the guest machine.

And the method you have shown to enable the telnet and ftp services is for windows which was already been set to automatic, but what would be the case in Linux?

On firing this commands (service  telnet/ftp  start) on Linux to start the services i am getting this error

telnet: unrecognized service
ftp: unrecognized service

Please help me out.
0
 
LVL 93

Assisted Solution

by:John Hurst
John Hurst earned 150 total points
ID: 24741066
I get the same messages between Ubuntu (VM) and XP (Host) machines because these services are routinely turned off for security, and I have no real reason to turn them on. What I can do is open a file share (map a drive) in the Ubuntu machine and see the Windows machines. That comes from having the VMware tools installed and I have always been able to do that. With RedHat (some time back) I had to install and configure Samba but it certainly worked. If ultimately sharing or moving files is your objective, this is probably a preferable route. .... Thinkpads_User
0
 
LVL 8

Author Comment

by:newbie27
ID: 24746668
@thinkpads

 Thanks for your concern. Well the connectivity between two machines is working fine by using ssh service.
0
 
LVL 19

Assisted Solution

by:vmwarun - Arun
vmwarun - Arun earned 50 total points
ID: 24761484
newbie27,

Is iptables service running in Linux Guests ?

Also you can start ftp daemon only if you have configured proftpd or sftpd in your Linux Guests.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VM Properties is greyed out. 9 52
vmdk greater than 2TB 2 55
Linux VM 6 88
ESXi and SSLv3 5 59
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question