can ftp from virtualbox to remote server

Discussions related to using VirtualBox on Windows hosts.
Post Reply
umen
Posts: 7
Joined: 20. Aug 2008, 12:13

can ftp from virtualbox to remote server

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

You can connect to it using your Host?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
umen
Posts: 7
Joined: 20. Aug 2008, 12:13

Post by umen »

yes i can
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post 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.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
umen
Posts: 7
Joined: 20. Aug 2008, 12:13

Post by umen »

PASV ??
can you please explain what it is?
Thanks
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post 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!!
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
umen
Posts: 7
Joined: 20. Aug 2008, 12:13

Post by umen »

relax
the passive mode didn't work also ...
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post 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.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Post Reply