• April 17, 2024, 08:25:39 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: [1] 2 3 4

Author Topic: Lost FTP connection  (Read 24768 times)

cjmedina

  • Level 2 Member
  • **
  • Posts: 60
Lost FTP connection
« on: January 01, 2011, 12:58:30 PM »

I'm having a problem with port 21 through my DIR-655 router.

My FTP was working fine for a year now and the stopped working.

I'm using the free DNS through dyndns.com

I have went thorough my configuration. It says the dns is connected to dyndns.com but when I check the ftp port 21 it is NOT open. It is being refused???

Right now I'm trying to figure out why the connection is refused.


Thanks,

CJ
Logged

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: Lost FTP connection
« Reply #1 on: January 02, 2011, 06:46:54 AM »

Have you verified that ftp works locally?  If not - start there - if you can't access the ftp server from the local LAN by it's ip address, then there is a problem with the server itself.

How are you "checking the ftp port 21"?  If the ftp server is accessible from the local LAN and inaccessible from outside the LAN that would usually indicate a problem with the router and the port forwarding setup.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

cjmedina

  • Level 2 Member
  • **
  • Posts: 60
Re: Lost FTP connection
« Reply #2 on: January 02, 2011, 06:58:58 AM »

I can access locally with the local address.

I'm using this tool to check my ports http://www.dyndns.com/support/tools/openport.html and I have used others with the same result.

It's says the port is refused???

I have it set correctly for the dir-655 virtual forwarding

    * Connection Open: The port is open and our tool is able to establish a connection. This indicates that your network is available on this port, and that a server application is listening on this port and accepting incoming connections.
    * Connection Refused: The port is open, but no service is listening. This indicates that the port is available, but the computer or device is rejecting (refusing) the connection. This can occur if the service is not running, or if port forwarding is not correctly configured (see below).
    * Connection Timed Out: The port is actively being blocked. The port can be blocked by a firewall, a router, or your ISP. This can also indicate the device is unavailable (e.g. turned off). Please see below for more information.

It was fine for a year

What the heck is the next check?


Could my ISP be blocking port 21 and if so how can I be sure it's the ISP?


Cliff
 



« Last Edit: January 02, 2011, 07:00:40 AM by cjmedina »
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: Lost FTP connection
« Reply #3 on: January 02, 2011, 10:57:27 AM »

Are you sure than your dyndns address actually resolves to your external IP address?
You could also try using a different port number.
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

cjmedina

  • Level 2 Member
  • **
  • Posts: 60
Re: Lost FTP connection
« Reply #4 on: January 02, 2011, 12:20:49 PM »

I ca get in by:  ftp://xxxx:xxxxxxxxx@cj136.gotdns.com/

I just upgraded to Dynamic DNS Pro with dyndns.com

what is another port I can try to substitute port 21?

In the dir-555 router it says dynamic DNS: Status: Connected

And in the dns-323 the DDNS says:  Status    
Updated Successfully
Last Updated Time : Sun Jan 2 15:39:44 2011
Next Update Time :  Wed Jan 26 15:39:44 2011

DIR-655

Virtual Server settings:


DSN-323_FTP public 21 TCP always

DNS-323 address private 21 6 allow all

With Open Port Check Tool I don't have port  21 open!   

An attempted connection to 68.44.7.67:21 was refused. This typically indicates that there are no services available on that port, but that it is NOT being blocked by a firewall or your ISP.



Cliff
« Last Edit: January 02, 2011, 04:07:47 PM by cjmedina »
Logged

HSishi

  • Level 2 Member
  • **
  • Posts: 73
Re: Lost FTP connection
« Reply #5 on: January 02, 2011, 05:22:58 PM »

I had an interesting experience with my AVM 7390 router:
When I made a port forwarding rule "Allow port 21 on [NAS IP] to accept connections from web", I can't connect from web - I got timeouts.
But when I make a port forwarding rule "Allow FTP server on [NAS IP] to accept connections from web" it works.
Forwarding a port range 21-25 worked too.

So check your router if you can configure FTP server instead of a single port. If you can't, forward the port range 21-25 instead of 21 only.

//HSishi
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: Lost FTP connection
« Reply #6 on: January 02, 2011, 06:06:11 PM »

I ca get in by:  ftp://xxxx:xxxxxxxxx@cj136.gotdns.com/

Can or can't...?

When you ping your dyndns host name, does it resolve to your external IP address?

You can use any "spare" port number. You could for example forward port 12345 on your router to port 21 on your NAS.
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

cjmedina

  • Level 2 Member
  • **
  • Posts: 60
Re: Lost FTP connection
« Reply #7 on: January 02, 2011, 06:16:02 PM »

YES

ftp://xxxx:xxxxxxxxx@cj136.gotdns.com/

from my local network

but if i do a port check it still says port 21 is refused????

If I enter my host name in the browser it goes to: Grandstream Device Configuration and asks for a password????

I can't change port 21 in the FTP server configuration in the DNS-323

so do I set a number in the router DIR-655   what number?

Thanks,


Cliff

my version is 1.09

« Last Edit: January 02, 2011, 06:24:43 PM by cjmedina »
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: Lost FTP connection
« Reply #8 on: January 02, 2011, 06:31:54 PM »

You don't have to change the port number on the NAS. It can stay as port 21. I'm not familiar with your particular router, but I imagine you can "port forward" any external port number (12345 as I already suggested) to the internal IP address of your NAS- port 21.

Pasting "ftp://xxxx:xxxxxxxxx@cj136.gotdns.com/" doesn't really help me determine the issue.

What happens inside your network, doesn't necessarily reflect what happens outside of it.

If you try an alternative port number and your "tool" (try ShieldsUp website-it uses your external IP address to analyse your open ports) still says the port is closed, you have not configured your router/firewall correctly and your question might be better phrased in the router's forum.

You can also check with your ISP if they have blocked FTP.
« Last Edit: January 02, 2011, 06:35:34 PM by jamieburchell »
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: Lost FTP connection
« Reply #9 on: January 02, 2011, 06:39:34 PM »

If I enter my host name in the browser it goes to: Grandstream Device Configuration and asks for a password????

I'm guessing this is your router's web configuration page. Why? Because it's running on port 80 (web default) and you've put the host/IP address of it in your browser.

If that's not your router, then your dynamic host name isn't resolving to YOUR IP address afterall. Or, you've forwarded port 80 on your router/firewall to another device.
« Last Edit: January 02, 2011, 06:45:40 PM by jamieburchell »
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

cjmedina

  • Level 2 Member
  • **
  • Posts: 60
Re: Lost FTP connection
« Reply #10 on: January 02, 2011, 06:58:31 PM »

Shields up says only 2 ports are open 23 and 80

I have tried virtual server and port forwarding of 21 with no luck.

It used to work?????
Logged

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: Lost FTP connection
« Reply #11 on: January 03, 2011, 04:43:30 AM »

When I attempt to ping cj136.gotdns.com, the URL resolves to an ip address of 192.168.0.105 and my ISP's gateway discards the ping request (as it should, because a 192.168.x.x address is considered unrouteable across the internet.)

This suggest a problem with how you have your dynamic DNS client configured, and also is a very good example of why you should not be attmpting to test remote access from within the same LAN.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

cjmedina

  • Level 2 Member
  • **
  • Posts: 60
Re: Lost FTP connection
« Reply #12 on: January 03, 2011, 09:42:33 AM »

This is what I have set in DNS-323:

http://home.comcast.net/~cjmedina/Capture.JPG

http://home.comcast.net/~cjmedina/Capture2.JPG

http://home.comcast.net/~cjmedina/Capture3.JPG



CJ

 
« Last Edit: January 03, 2011, 09:57:29 AM by cjmedina »
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: Lost FTP connection
« Reply #13 on: January 03, 2011, 11:17:29 AM »

If fordem is correct, your DDNS host name is not resolving to your external IP address- which is problem number one (hence the persistant questioning).

Just out of curiosity, why did you enable DDNS on the NAS and not the router? If the router supports it, it would sure make life easier to use it.

Is the default gateway IP address of your NAS pointing to your router?
« Last Edit: January 03, 2011, 11:19:12 AM by jamieburchell »
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

cjmedina

  • Level 2 Member
  • **
  • Posts: 60
Re: Lost FTP connection
« Reply #14 on: January 03, 2011, 12:11:37 PM »

Here is what is set.




http://home.comcast.net/~cjmedina/Capture5.JPG

http://home.comcast.net/~cjmedina/Capture6.JPG


It was working and then stopped with the free DNS and I just upgraded to pro. Still don't work!
« Last Edit: January 03, 2011, 12:13:14 PM by cjmedina »
Logged
Pages: [1] 2 3 4