Filezilla doesn't listen port 21

Questions about Wine on Linux
Locked
yowelin89
Newbie
Newbie
Posts: 1
Joined: Thu Jul 12, 2018 2:23 am

Filezilla doesn't listen port 21

Post by yowelin89 »

Hello,
I installed Filezilla Server on Ubuntu 16.04, But it does not work on internet and LAN connections.

Code: Select all

Status:	Connecting to 192.168.1.66:21...
Status:	Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error:	 Could not connect to server
port are picked in setting 50000-50100 and successfully open on my router.
port 21 is not listened.
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Filezilla doesn't listen port 21

Post by dimesio »

In Linux, binding to ports below 1025 requires root privileges, and Wine is a user-level process.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Filezilla doesn't listen port 21

Post by DarkShadow44 »

Just for completeness sake: Don't try to use sudo, never run wine as root!

But what exactly is running under wine here? The server? If so, then it's as dimesio said.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Filezilla doesn't listen port 21

Post by Bob Wya »

@yowelin89

What's the point of running a non-native FTP Server on Linux?
See: Ubuntu: FTP Server (for a native Linux suggestion).
This is bread and butter for Unix-based Operating Systems...

Obviously it would be much better (more secure) to use something like: SFTP
See: SSH File Transfer Protocol.

Bob
Locked