Hi All, I am new on PythonAnywhere. I have error when try to connecting to "ftpserver.acanac.com".
Can some one figure out what is my problem? I have no problem on my Linux Terminal. Thank you. Vilounha Here is my code:
from ftplib import FTP
ftp = FTP('ftpserver.acanac.com')
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/ftplib.py", line 117, in init self.connect(host) File "/usr/lib/python2.7/ftplib.py", line 132, in connect self.sock = socket.create_connection((self.host, self.port), self.timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err socket.error: [Errno 111] Connection refused