BetaArchive Logo
Total Current Archive Size: 4925.26GB in 15820 files
Navigation Home Screenshots Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 6d, 1h, 54m | CPU: 8% | MEM: 4253MB of 12279MB used
{The community for beta collectors}

Forum rules


Before you post, please make sure...

- ...your topic is related to betas or abandonware. If it is not, don't post it here. Better help sites exist else where.
- ...you have first used Google to look for an answer, and you have asked other people you know via other methods (IM, e-mail, etc).
- ...your question has not been asked before. Search the forum first before posting.

If you meet those criteria, go ahead and post your question. Be sure to provide as much information you can about the problem and how to recreate it. Also provide information on hardware and software if applicable.


Post new topic Reply to topic  [ 25 posts ] 
Author Message
 PostPost subject: Setting up a FTP server        Posted: Wed Aug 24, 2011 9:38 am 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
I decided to open my own FTP server and have followed this tutorial, but whenever I try to connect to it (trough FZ client) I get "Connection refused by the server"... What am I doing wrong?

EDIT: I get the above error when I try connecring from both the host computer and my laptop...

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 10:32 am 
Amateur Beta Collector
Amateur Beta Collector
User avatar
Offline

Joined
Thu Feb 24, 2011 1:51 pm

Posts
294

Location
/pt-BR

Favourite OS
6.1.7850.0
Maybe your ISP blocks incoming traffic for the FTP port...
Or it's just a problem with your configuration.
Try to set up the IIS FTP Server and try to connect.

_________________
Image


Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 10:34 am 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
I'm using DynDNS service to update the adress with latest host IP...

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 10:40 am 
Amateur Beta Collector
Amateur Beta Collector
User avatar
Offline

Joined
Thu Feb 24, 2011 1:51 pm

Posts
294

Location
/pt-BR

Favourite OS
6.1.7850.0
I prefer No-IP...
Reconnect your internet, your IP will change and DynDNS will update the IP of the host. Try again to connect.

_________________
Image


Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 10:44 am 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
I tried at least 10 times and I always get "Connection refused by the server" after 2 seconds... However, the IP displayed in FZ is correct, which means some of the settings must be wrong, but IDK which... :(

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 10:52 am 
Amateur Beta Collector
Amateur Beta Collector
User avatar
Offline

Joined
Thu Feb 24, 2011 1:51 pm

Posts
294

Location
/pt-BR

Favourite OS
6.1.7850.0
Your FileZilla server logs the connections?
And your FileZilla client details the error?

_________________
Image


Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 11:14 am 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Sat Aug 22, 2009 4:28 pm

Posts
4204

Favourite OS
Mountain Lion, 6730, 8400
To test the connection do the following steps:

0. If you don't have a router, you don't need to follow them, the server will be hyper-unsecured, but it will work without a hitch.
1. Use client to connect to 127.0.0.1, if it works continue to step 2.
1A. Check your FTP client, it's most likely turned off (yeah).
2. Open cmd --> ipconfig, look up your local IP on an active network card you use for Internet, connect to that IP. It it works, continue to step 3.
2A. Something is wrong with your firewall, router. In some cases (very rarely), the server doesn't allow LAN connections.
3. Go to "2ip.ru" website, see your IP? Connect to it, via the client. If it works, continue to step 4.
3A. Ports are forwarded incorrectly. In some cases (very rarely), your Internet Service Provider blocks IP forwarding on a certain port, try to use an another one then.
4. If you encouter (and you will) "cannot get directory listing" or "can't open data connection" during step 3, you should also forward a port for passive connection:
Image
And also go to the settings of the same server, set the same settings as on the pic below, and use the same port you have just forwarded (the second one):
Image
5. Reboot your router. Go to "2ip.ru", if you see a different IP, passive mode will fail even if you have forwarded ports. Nothing you should do, just wait some time, until IP relookups on the server.
6. Consider a DynDNS version 2, it works better. http://cdn.dyndns.com/dyndns-setup-win.zip
7. Enjoy.

_________________
Longhorn Packet 1.21 - Solves most of the problems with Longhorn Setup


Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 11:28 am 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
Works all the way up to step 3, where I get "ECONNREFUSED - Connection refused by the server" error. After that, I don't have a clue of what you're trying to tell me... :cry:

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 11:33 am 
Amateur Beta Collector
Amateur Beta Collector
User avatar
Offline

Joined
Thu Feb 24, 2011 1:51 pm

Posts
294

Location
/pt-BR

Favourite OS
6.1.7850.0
Before the "ECONNREFUSED - Connection refused by the server" error, it shows the last response of the server, what is it?

_________________
Image


Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 11:35 am 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Sat Aug 22, 2009 4:28 pm

Posts
4204

Favourite OS
Mountain Lion, 6730, 8400
DeFacto wrote:
Works all the way up to step 3, where I get "ECONNREFUSED - Connection refused by the server" error. After that, I don't have a clue of what you're trying to tell me... :cry:


So? Use the guide:
Quote:
3A. Ports are forwarded incorrectly. In some cases (very rarely), your Internet Service Provider blocks IP forwarding on a certain port, try to use an another one then.


You need to forward the ports. What is the model of your router?

_________________
Longhorn Packet 1.21 - Solves most of the problems with Longhorn Setup


Last edited by Pwned on Wed Aug 24, 2011 11:36 am, edited 1 time in total.

Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 11:36 am 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
Belkin F5D8233-4

EDIT: I tried to forward the port, but still get the Connection refused error...

_________________
Image


Last edited by DeFacto on Wed Aug 24, 2011 11:52 am, edited 1 time in total.

Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 11:49 am 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Sat Aug 22, 2009 4:28 pm

Posts
4204

Favourite OS
Mountain Lion, 6730, 8400
DeFacto wrote:
Belkin F5D8233-4


OK, do cmd --> ipconfig. In your active network card search for default gateway (you can also get your local IP address there). Enter that IP into the browser window. You see the router page. If you haven't changed the pass, it should be blank, according to Internet sources. Go to "Virtual Servers", set up ports as shown here. Pretty much the same as on my DD-WRT.

Image
Note to above: you should provide your local IP.

_________________
Longhorn Packet 1.21 - Solves most of the problems with Longhorn Setup


Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 11:59 am 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Sat Aug 22, 2009 4:28 pm

Posts
4204

Favourite OS
Mountain Lion, 6730, 8400
DeFacto wrote:
I tried to forward the port, but still get the Connection refused error...


Then your firewall. I hope you use Windows Firewall, you will need to allow this app for packet exchange. By the way, can you enter IRC (#nttalk), that will be easier to assist you?

Image

_________________
Longhorn Packet 1.21 - Solves most of the problems with Longhorn Setup


Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 12:14 pm 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
Tried both, default port (21) times out, the remapped one gives connection refused...

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 12:18 pm 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Sat Aug 22, 2009 4:28 pm

Posts
4204

Favourite OS
Mountain Lion, 6730, 8400
DeFacto wrote:
Tried both, default port (21) times out, the remapped one gives connection refused...


Umm? I don't understand what do you mean. You should use the same ports for Inbound and Private in your Belkin settings.

_________________
Longhorn Packet 1.21 - Solves most of the problems with Longhorn Setup


Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 1:47 pm 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
Right, sorry about that... :$ So they must both be 21, but what about Passive? Are they 21 too or some other number? And BTW I still can't connect...

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 5:09 pm 
Newbie Beta Collector
Newbie Beta Collector
User avatar
Offline

Joined
Thu Jun 09, 2011 1:16 am

Posts
19

Favourite OS
Windows Server 2008 R2
Q. What ports do I need to open?

A. If you wish to set up a secure Filezilla Server you will need to forward TCP port 21, TCP port 990 (for implicit), as well as a passive port range such as TCP ports 3000-4000.

Implicit SSL listens on TCP port 990. Explicit SSL listens TCP port 21. But make sure if you plan to use explicit SSL that you can enabled the "Allow explicit FTP over TLS" option is selected in Filezilla Server Settings. Also ensure that you have created your self-signed SSL certificate as well.

Q. Is my ISP blocking the ports?

A. A good way to see if your ISP is blocking the ports is to use an open port checker tool.

Go here http://canyouseeme.org and simply type in port 21 and 990 and see if this online tool can see your port. If you see "Success: I can see your service on "xxx.xxx.xxx.xxx" on port (21)" it means that your ISP is not blocking the port.

However if the open port checking tool does not see port 21 it still doesn't mean your ISP is blocking the connection. In most cases it is always the firewall. In my case I needed to allow the Filezilla Server program as an inbound rule in the "Windows Firewall with Advanced Security" console. Simply click on inbound rules, right-click on it and choose New Rule. For the "type of rule" select Program then browse to the Filezilla Server executable. In my case its C:\Program Files (x86)\FileZilla Server\Filezilla server.exe". I just allowed it for all three profiles (domain, public, private). Using the open port checker tool again I retried port 21 and it was successful. This is of course assuming you use the default Windows Firewall. If you use a 3rd party firewall such as Comodo you might need to manually add Filezilla Server.exe as a trusted program as well as allow ports 21,990, [passive port range] as an inbound rule.

Here is my YouTube tutorial below if you are interested in watching it:

http://www.youtube.com/watch?v=-Ch2vMmaeds


Sorry I can't help you out 100% of the way because there are going to be some things that are platform specific (aka not everyone has the same model router, or same type of firewall software/hardware)

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 5:37 pm 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
Thanks... :) Though it seems all ports are blocked... :?

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 5:47 pm 
Amateur Beta Collector
Amateur Beta Collector
User avatar
Offline

Joined
Thu Feb 24, 2011 1:51 pm

Posts
294

Location
/pt-BR

Favourite OS
6.1.7850.0
Solved your problem?

_________________
Image


Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 5:47 pm 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
Nope, not yet...

Yay, it works! :D Thanks man...

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 6:39 pm 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Sat Aug 22, 2009 4:28 pm

Posts
4204

Favourite OS
Mountain Lion, 6730, 8400
Tell us how did you solve it, please. It would help others. :)

_________________
Longhorn Packet 1.21 - Solves most of the problems with Longhorn Setup


Top  Profile  YIM
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Aug 24, 2011 6:42 pm 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
After following halladayrules' tutorial it still didn't work for a few minutes, but once my IP changed I tried again and it worked...

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Wed Jun 13, 2012 6:44 pm 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
Sorry to bump, but since I'm re-opening the FTP, I'm still having issues; it connects fine, but when FileZilla Client gets to the MLSD command, it errors "Cannot get directory listing". Ports are fine. This happends on all computer at home, replacing the URL with LAN IP does nothing. Any ideas?

EDIT: Nevermind, fixed it by adding Filezilla Server and Filezilla Server interface to the exeptions under Windows Firewall. :)

_________________
Image


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Sun Aug 05, 2012 4:16 am 
Newbie Beta Collector
Newbie Beta Collector
User avatar
Offline

Joined
Sat Aug 04, 2012 4:19 am

Posts
13

Location
USA

Favourite OS
Windows 8
Make sure the ports are forwarded correctly. Just go through your router's settings and while doing so look at a tutorial on how to appropriately port forward your router.

EDIT: Oh sorry did not see your post, good job at figuring it out.

_________________
     
Without failure, there is no success.


Top  Profile
 PostPost subject: Re: Setting up a FTP server        Posted: Sun Aug 05, 2012 9:18 am 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 14, 2010 4:02 pm

Posts
5407
The dumb part is that even though Windows Firewall is suppose to inform you when it blocks something, in my case it didn't and did a silent-block of both Filezillas... :/

_________________
Image


Top  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ] 




Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2013

 

Sitemap | XML | RSS