On Fri, Jul 30, 2004 at 01:50:08PM +0800, John Summerfield wrote: > Griffin Palmer wrote: > > >OBTW -- when I try to telnet to port 25 on the new box > >from the old box, I get "connection refused." > > > > > > > That's your problem. > > Here's how to use lsof for this prob: > ns:~# lsof -c post -a -i > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME > postmaste 691 postgres 3u IPv6 2276 TCP *:postgresql (LISTEN) > postmaste 691 postgres 4u IPv4 2277 TCP *:postgresql (LISTEN) > postmaste 691 postgres 6u IPv4 2286 UDP > localhost:1034->localhost:1034 postmaste 695 postgres 6u IPv4 2286 > UDP localhost:1034->localhost:1034 >
Another thing that may help is netstat. Try running netstat -tulpen (preferably as root so you can see the program name). It will show you who is listening on what port and on what address. For me it shows for exim Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 546436 14937/exim4 > -- > > Cheers > John > > -- spambait > [EMAIL PROTECTED] [EMAIL PROTECTED] > Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > > +++++++++++++++++++++++++++++++++++++++++++ > This Mail Was Scanned By Mail-seCure System > at the Tel-Aviv University CC. > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]