VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
8 Replies Last post: Feb 5, 2007 6:09 AM by langonej  

ftp-client-problem on esx 3 : "ftp: connect: Connection refused" posted: Oct 20, 2006 6:04 AM

Click to view SirToby's profile Enthusiast 46 posts since
Jan 5, 2006
Problem:
I cannot connect to my ftpserver (vsftpd, running on SLES 9 called SERVER3) from my ESX 3.0 host.
BUT:
I can connect to the above ftpserver (vsftpd, running on SLES 9 called SERVER3) from ANOTHER linux machine.
I can connect to another ftpserver (filezilla, running on Windows 2k) from the same ESX 3.0 host.

Heres the output:

Server 1 is ok connecting to SERVER 2 (Server 1 is a virtual SLES 9 Server, Server 2 is a physical SLES 9 Server)
root@SERVER1:/# ftp 10.100.112.32
Connected to 10.100.112.32.
220 (vsFTPd 1.2.1)
Name (10.100.112.32:vmuser): test
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Entering Extended Passive Mode (|||15566|)
150 Here comes the directory listing.
drwxr-xr-x 2 1002 100 80 Oct 20 12:36 Documents
drwxr-xr-x 2 1002 100 48 Oct 20 12:36 bin
drwxr-xr-x 2 1002 100 80 Oct 20 12:36 public_html
226 Directory send OK.
ftp>


[root@SERVER3 /]# ftp 10.100.112.32
Connected to 10.100.112.32 (10.100.112.32).
220 (vsFTPd 1.2.1)
Name (10.100.112.32:root): test
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (10,100,112,32,154,20)
ftp: connect: Connection refused
ftp>

Question: What is wrong with ftp, probably on my ESX 3.0-Server side?

Click to view boydd's profile Champion User Moderators 5,707 posts since
Jun 15, 2004
DNS entries correct? Reverse lookup entry so sles can verify host.

DB
Click to view squirrelking's profile Enthusiast 81 posts since
Dec 9, 2004
What does your firewall configuration look like on your ESX server?

List output of:
esxcfg-firewall -q
Click to view langonej's profile Hot Shot vExpert 248 posts since
May 24, 2005
I'm having the same issue. I opened 20 and 21 TCP outgoing for FTP and I can connect to my external FTP server but I can not perform an "ls" or a file transfer.

If I open up all outgoing ports it works fine.

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities