Home > other >  Python FTP server connection error
Python FTP server connection error

Time:10-10

Very simple books
The from ftplib import FTP
F=FTP (' ftp.mozilla.org ')
A connection error, why? Ask the man answer thank you,

CodePudding user response:

 & gt;> The from ftplib import FTP 
> FTP=FTP (' ftp.debian.org ') # connect to the host, the default port
> FTP. The login () # user anonymous, passwd anonymous @
'230 Login successful.'

I just try this is a link
https://docs.python.org/2/library/ftplib.html
But when I link the FTP link error, the socket. Error: 111] [Errno Connection refused
I don't know why

CodePudding user response:

- your next FTP server, connect oneself machines don't have to

CodePudding user response:

Connection refused is typically IP restrictions, such as manual connection can we?
  • Related