Page 1 of 1

can ftp from virtualbox to remote server

Posted: 23. Nov 2008, 09:47
by umen
Hello all
im using virtual box to host debian os , im connecting to to debian
with ssh ( on the same pc ) but when i try to ftp from virtual host
to remote ftp im getting :
421 Service not available, remote server has closed connection
or even if i try to connect to remote http site with lynx i cant get connection
how can i configure virtual box to connect to outside world
Thanks

Posted: 23. Nov 2008, 16:57
by Sasquatch
You can connect to it using your Host?

Posted: 23. Nov 2008, 17:54
by umen
yes i can

Posted: 23. Nov 2008, 18:51
by TerryE
With NAT you have to use PASV, because standard FTP cannot do a call-back connection to the guest. I've done this. It works fine. Honest.

Posted: 23. Nov 2008, 22:20
by umen
PASV ??
can you please explain what it is?
Thanks

Posted: 24. Nov 2008, 00:51
by Sasquatch
umen wrote:PASV ??
can you please explain what it is?
Thanks
PASV stands for Passive. You have to use a passive FTP connection. Check your software documentation on how to create such connections.

Posted: 25. Nov 2008, 05:54
by TerryE
umen wrote:PASV ?? can you please explain what it is? Thanks
Have you not heard of google, for goodness sake? Just googling PASV gives your all the explanations that you need!!

Posted: 25. Nov 2008, 09:00
by umen
relax
the passive mode didn't work also ...

Posted: 25. Nov 2008, 20:24
by TerryE
I've used ftp passive mode successfully in the configuration that you describe. Another potential issue is that your host firewall is preventing outbound connections. And yes, if you are running Vista or the latest XP service pack then inbuilt firewall is turned on by default.