Ftp Server Not Working - Solved


Recommended Posts

Hi All,

Found an excellent tutorial on how to setup a FTP server from the networking section here and followed it to the T.

I signed up with dyndns.com and no-ip.com and registered a couple of domains.

When I enter the domain names in my browser, my modem page comes up(192.168.1.1), but my internal address is set to 192.168.1.100.

I'm using Encrypted ftp as recommended. When I start a ftp client and point it to my domains, it doesn't connect, this is the message I get whether the server is on or not :blink:

Status: Connecting to xyz1.ath.cx ...

Status: Connected with xyz1.ath.cx. Waiting for welcome message...

Response: 220 FTP Server (Version 1.0) ready.

Command: USER Any

Response: 331 User name okay, need password.

Command: PASS ********

Response: 530 Not logged in.

Error: Unable to connect!

All help will be gratefully appreciated.

Edit:

Port 21 has been forwarded on my router for both TCP and UDP

Edited by wasaaabi
Link to post
Share on other sites

Port 21 has been forwarded on my Huawei router for both TCP and UDP.

Is TCP/UDP correct?

Why does the 192.168.1.1 page come on in my browser? Doesn't that mean it's accessing 192.168.1.1 instead of 192.168.1.100?

And why is the error message the same even if the server software is shut down?

The response that comes is this

Response: 220 FTP Server (Version 1.0) ready.

it should be "welcome to bla bla"

Thanks for an excellent tutorial!

Edit:

I port forwarded port 21 in to port 21 in my routers config as "Redirect"

Edited by wasaaabi
Link to post
Share on other sites

No, 192.168.1.1 is the address of your router while 192.168.1.100 is the local address of your pc.

I don't know what you mean by "redirect" though, port forwarding on my router is under "Applications and Gaming". However, routers firmware are different so it may be under another name. Also, if you go to your web browser and type in the address bar: ftp://192.168.1.100:21 - a dialog box will appear asking for username and password, once the server is running correctly if it isn't, then you will get an unable to connect message.

Also in your ftp client, make sure you have it set to use port 21. Also, make sure that you ticked the account enable box under the user administration tab. I'm not sure as of now what else it may be.

B

Link to post
Share on other sites

Well, essentially that domain is your actual IP address. 192.168.1.100 is your local IP, however the domain isn't really pointing to that perse it's pointing to your real IP address. It's only 192.168.1.100 to you, on your network. However, when someone connects to the FTP they aren't connecting to 192.168.1.100, they're connecting to your actual IP. Make sense?

B

Link to post
Share on other sites

If I want to use the domain name from no-ip as a webserver/site it's still unusable for all practical purposes as I cannot point it to a folder.

How do I point the domain to 192.168.1.100 instead of 192.168.1.1?

Something to do with the router or computer? I'm using Win me.

>> Also, if you go to your web browser and type in the address bar: ftp://192.168.1.100:21 - a dialog box will appear asking for username and password, once the server is running correctly if it isn't, then you will get an unable to connect message.

This is the message I get from Opera

Could not connect to FTP server, possibly because of too many users. Please try again later.

You tried to access the address ftp://192.168.1.100:21/, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.

Edit:

Forwarded port 21 again and my browser was able to access it once only. The access shows in EFTP log. Still unable to access from filezilla client or again from the browser.

Edited by wasaaabi
Link to post
Share on other sites

Hey,

I'm not really sure what to tell you except check all your config settings, etc. Networking issues are by far (I think) the toughest to troubleshoot over the internet. I personally like to be at the computer(s) when it's a networking problem. I'm not really sure what you're asking either in your last post. Sorry I haven't responded sooner, my girlfriend is in town and I'm spending time with her. Maybe someone else has a few ideas?

B

Link to post
Share on other sites
  • 2 weeks later...

My ftp is on and all along it was OK.

The mistake that I made was trying to connect to my own machine without using a proxy. This was pointed out to me elsewhere and I'm posting it so that anyone else who has the same problem can benefit from this.

The tutorial by Besttechie will help to setup a working server.

When testing it, test it from a DIFFERENT computer or USE a proxy while testing it.

My thanks to all that have replied and helped.

Besttechie, perhaps this tip could be incorporated into the tutorial.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...