Cannot connect to server

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
johnhedge
504 Command not implemented
Posts: 6
Joined: 2019-03-20 19:48
First name: John
Last name: Hedge

Cannot connect to server

#1 Post by johnhedge » 2019-03-20 19:54

Hi List,

I've searched the forum for an answer without success. (Lots of close misses)

The server is on a Win 10 PC

TIA,

John

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Cannot connect to server

#2 Post by boco » 2019-03-20 22:49

Sorry, unless you provide much more information, this topic will be another miss, unfortunately. My magic crystal ball is currently in repairs and so I have to rely on your information.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

johnhedge
504 Command not implemented
Posts: 6
Joined: 2019-03-20 19:48
First name: John
Last name: Hedge

Re: Cannot connect to server

#3 Post by johnhedge » 2019-03-20 23:01

I'm happy to try and provide whatever info you need to assist me but I'm not sure what else I can say.

I installed the Filezilla server on my desktop Win 10 PC. When it came to starting it I got an error message saying Error: Cannot connect to server.

John

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Cannot connect to server

#4 Post by boco » 2019-03-20 23:32

At least, a start.

FileZilla Server is actually two parts: The visible part for administration, and the invisible server engine doing all the actual work (runs as a service by default). If you get the error message from the administration interface that it cannot connect to the server (the engine), then the service might be stopped.

- In the installer, did you use the selection to manually start the server? If yes, you need to start the service first (from the Services Control Panel).
- In any other case, what did you enter at the connection dialog? Default is Host: localhost, port: 14147, password: <empty>. Only localhost is working by ddefault!

That's, of course, not an FTP client connection in any way. After proper configuration of the server (https://wiki.filezilla-project.org/Documentation) and creation of user accounts, you can connect to it using any standards-compliant FTP client.


So, you want to run a server, right? If you want to transfer stuff to remote servers, you need the client, not the server.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

johnhedge
504 Command not implemented
Posts: 6
Joined: 2019-03-20 19:48
First name: John
Last name: Hedge

Re: Cannot connect to server

#5 Post by johnhedge » 2019-03-21 01:39

Here are the stages of my install. (I did it again)
All default.
John
Attachments
Capture3.JPG
Capture3.JPG (47.68 KiB) Viewed 27159 times
Capture2.JPG
Capture2.JPG (28.02 KiB) Viewed 27159 times
Capture1.JPG
Capture1.JPG (39.02 KiB) Viewed 27159 times

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Cannot connect to server

#6 Post by botg » 2019-03-21 08:14

Based on the first screenshot you are trying to remotely administrate an installation of FileZilla Server running on a host named "desktop". By default remote administration is disabled and needs to be explicitly enabled in the settings dialog, with the administration interface connected to the server using the loopback interface.

johnhedge
504 Command not implemented
Posts: 6
Joined: 2019-03-20 19:48
First name: John
Last name: Hedge

Re: Cannot connect to server

#7 Post by johnhedge » 2019-03-21 08:42

I'm afraid I don't understand. I've installed the server for a third time to check your advice. I've selected all defaults as before and the same thing happens.

'Settings' is greyed out.

John

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Cannot connect to server

#8 Post by boco » 2019-03-21 13:34

Your screenshot shows The admin interface trying to connect to "desktop" on port 14147. That will NOT work as remote administration is disabled by default.

You absolutely MUST use "localhost", 127.0.0.1 or [::1] as server name! The service doesn't listen on other addresses (including LAN IP) in its default state!

Image
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

johnhedge
504 Command not implemented
Posts: 6
Joined: 2019-03-20 19:48
First name: John
Last name: Hedge

Re: Cannot connect to server

#9 Post by johnhedge » 2019-03-21 14:45

Thank you that worked:

Connecting to server localhost:14147...
Connected, waiting for authentication
Logged on
You appear to be behind a NAT router. Please configure the passive mode settings and forward a range of ports in your router.
Warning: FTP over TLS is not enabled, users cannot securely log in.

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Cannot connect to server

#10 Post by boco » 2019-03-21 17:53

The warnings are normal the first time. For security reasons, enable FTP over TLS support as soon as possible.

As for the NAT configuration, read the Passive mode section of Network Configuration.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

johnhedge
504 Command not implemented
Posts: 6
Joined: 2019-03-20 19:48
First name: John
Last name: Hedge

Re: Cannot connect to server

#11 Post by johnhedge » 2019-03-21 20:47

Thank you.

kleajmp
500 Command not understood
Posts: 1
Joined: 2021-04-16 17:50
First name: Kleajmp
Last name: Fiddich

Re: Cannot connect to server

#12 Post by kleajmp » 2021-04-16 19:34

boco wrote:
2019-03-21 13:34
You absolutely MUST use "localhost", 127.0.0.1 or [::1] as server name! The service doesn't listen on other addresses (including LAN IP) in its default state!
How can i change it's default state so I can manage my ftp server from another computer in my lan?

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Cannot connect to server

#13 Post by boco » 2021-04-17 00:25

In the Settings, Admin Interface settings

1. Make sure the Admin Interface is bound to at least your LAN address. Default is * (IIRC) which is all interfaces.
2. Enter the LAN IP of the device that should be allowed to remote administrate into the right field.
3. Assign a password of the required length. The password is mandatory.
4. Open your server's firewall for port 14147 (or whatever you set as Admin port).
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Post Reply