Problem in connecting two virtual machines

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.
LVL 8
newbie27Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

netbonesCommented:
Are the VM's ethernet adapters in bridge mode (using the host PC's ethernet adapters directly) or on private VM networks?
0
JohnBusiness Consultant (Owner)Commented:
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
fireline1082Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

newbie27Author Commented:
@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
JohnBusiness Consultant (Owner)Commented:
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
newbie27Author Commented:
@thinkpads

 Thanks for your concern. Well the connectivity between two machines is working fine by using ssh service.
0
vmwarun - ArunCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
TCP/IP

From novice to tech pro — start learning today.