VMware Communities
mdivk
Contributor
Contributor

Error when using FileZilla to connect the host on VM with the Windows 7

This is what I get when trying to connect:

Status: Connecting to 192.168.211.251:21...

Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".

Error: Could not connect to server

Windows: 192.168.211.1

Ping with no problem but telnet on port 21 failed

Firewall is disabled on Windows.

Thanks lots.

Reply
0 Kudos
8 Replies
voidp
Enthusiast
Enthusiast

Your problem is more likely being caused by Windows, a security application, etc. than vmware Workstation itself.

You could check the FileZilla forum: FileZilla Forums.

Reply
0 Kudos
gimmely
Hot Shot
Hot Shot

Which IP of the two provided is for the host/guest respectively?  Could you show your Virtual Network Editor and your guest's network adapter (setting)?

Reply
0 Kudos
mdivk
Contributor
Contributor

Thank you.

My windows 7: 192.168.211.1

Host on VM: 192.168.211.251

From 211.1 I am able to ping 211.251 but Telnet fails

On guest, network setting is using bridge:

Screenshot - 11_13_2017 , 11_54_00 AM.jpg

Thank you very much.

Reply
0 Kudos
gimmely
Hot Shot
Hot Shot

I don't know what you mean by saying

Host on VM

Let's just use the terms in VM(ware).  The host is the machine running VMware applications, Workstation or else, and the guest is the VM itself.

So, are you saying that you can't telnet from the host to the guest?  If yes, is port 21 on the guest open?

Yes, you can ping the guest from the host, which indicates ICMP not disabled by firewall.  But, how about disabling the firewall completely on the guest, because telnet might be disabled by the firewall?

Reply
0 Kudos
mdivk
Contributor
Contributor

Sorry for not using the standard terms:

Host: my Windows 7, VM is installed there.

Guest: a centos is installed there

What I need is to use FileZilla to transfer files between the host and the guest

I turned the firewall off, no use

Thanks

Reply
0 Kudos
mdivk
Contributor
Contributor

Just re-read your post, where do I open firewall in the centos guest?

Thanks

Reply
0 Kudos
gimmely
Hot Shot
Hot Shot

Sorry, I'm not familiar with CentOS, but believe you can find some information in other posts as well as CentOS' own documentation.

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

First off, telnet is on port 23, not 21.

On port 21, if there is a service running then most likely that would be ftp.

Are you sure that telnet is running in centOS?

By default there is no ftp or telnet running. Those services have to be:

- for ftp installed and configured

- for telnet, the service has to be enabled.

What centOS version are you running?

Within centOS as root what is the output of:

  netstat -tulpen | grep "LISTEN"

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos