Whilst you are waiting for your ftp or telnet session to connect, run a 'netstat --inet' and see what state your sockets are in. You might have to tcpdump the traffic to see what's really going on, though.