no route to host error 113
ftp, python, routes
Solution
I agree that strace is a good tool here, but it can be a bit daunting if you aren't familiar with it, or at least, familiar with C.
About use of strace and similar tools for debugging: http://stromberg.dnsalias.org/~strombrg/debugging-with-syscall-tracers.html
Problem
If built a script which connects to an ftp server.I have tested it local on my pc and its working, but on the server it says: (113, 'No route to host'). If i connect per shell with ftp XX.XX.XX.XX its working fine! This is how i try to connect in python: ``` import ftplip meinftp = ftplib.FTP(ip) meinftp.login(user,password) meinftp.cwd(ftpdirectory) ``` Any ideas why i get no route to host? The firewall is not blocking.