[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 358
  • Last Modified:

Problems connecting to an FTP server from behind a router...

Hi,

I'm trying to connect to an FTP server to upload some stuff to my
website - I can connect fine on other PCs but not my one at home.

I have a DI-624+ router and my PC always gets the same static IP from
it when connecting. I have forwarded ports 20 and 21 (TCP & UDP) to
this IP.

In the dos command line i enter   ftp <host address> and i get the
error:

"Connection closed by remote host"

I've switched the firewall off on my PC and still no luck - any ideas?

Cheers.
0
paulbradley
Asked:
paulbradley
1 Solution
 
ChrisMacleodCommented:
What FTP client are you using? Try setting the FTP client to use passive mode when connecting.
0
 
paulbradleyAuthor Commented:
Command line like I said and WS_FTP doesn't work either - the client is in passive mode.
0
 
ChrisMacleodCommented:
Sorry i thought you where just using command line as an extra test.  Try using net2ftp.com and if that works ok i would reboot the router.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
paulbradleyAuthor Commented:
Doesn't work with that either - I've already put my router back to factory spec and the only changes made were port forwarding to ports 20 and 21.
0
 
ChrisMacleodCommented:
If you can't login using net2ftp.com the problem is on the hosts side.  Have you contacted them?
0
 
UstasCommented:
I assume you have a broadband connection, through some broadband modem. What if you connect your PC directly to the modem, so that the real IP address is on your network card, instead of the router. This way you'll eliminate NAT, so you can check if the problem is really coming from the ftp server.

From what you are describing, it looks like the ftp servers, is actually rejecting connections from your host. Do you have to notify the service provider that hosts your ftp server, and ask them to open ACLs to allow your IP to connect to the ftp?
0
 
prashsaxCommented:
Are you able to connect to any other FTP servers.


e.g ftp.microsoft.com or ftp.nai.com

If you can, then you be sure of that problem is not at your end.
0
 
cduke250Commented:
unplug the ethernet cable from your router and plug it in your computer instead, then reboot the modem and the computer.  

Now you should have a TEMPORARY fix
0
 
paulbradleyAuthor Commented:
It would appear it was a problem with the host!!!

Cheers
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Tackle projects and never again get stuck behind a technical roadblock.
Join Now