giampaolo / pyftpdlib

Extremely fast and scalable Python FTP server library
MIT License
1.65k stars 267 forks source link

Problem with default loopback address '' on win 10 #642

Open str-it opened 1 month ago

str-it commented 1 month ago

Hi, I have run into problems when following the tutorial and configuring a FTPS server like this:

server = FTPServer(('', 21), handler)

IIRC the short version '' worked for FTP but not for FTPS. It seems to not get resolved. I had to specifically write:

server = FTPServer(('0.0.0.0', 21), handler)


I think you should make the loopback explicit 0.0.0.0 in the tutorial for FTPS or at least mention it there.