From: Joel VanderWerf Date: 2008-05-21T03:35:21+09:00 Subject: Re: Debugging a TCPSocket.open timeout Student Jr wrote: > I'm trying to do an IMAP connection. My first target is gmail: > > Net::IMAP.new("imap.gmail.com", 143) > > goes walkabout on line 886: > > TCPSocket.open("imap.gmail.com", 143) > > AT&T swears they are not port blocking. My system logs are clean. > > The code for TCPSocket is compiled in, so inserting printfs is going to > be really painful. Moreover, the actual error is probably a ways down > the stack. > > Ideas? What about trying netcat? Not sure that will give more info than tcp open, but if you have to convince someone, it's better than saying "my ruby program doesn't work". -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407