Telnet => servname ai_socktype error

Dan Nelson dnelson at allantgroup.com
Fri Aug 13 03:27:21 UTC 2010


In the last episode (Aug 12), jaymax said:
> 
> FreeBSD my.domain.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13
> UTC 2009     
> root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> 
> Testing a Qmail SMTP installation with Telnet
> 
> (normally use SSH for networking)
> 
> Temporary Telnet set up for testing ==>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> 
> Server set up ==>
> 
> % telnet localhost 25
> 	   Trying 127.0.0.1...
> 	   telnet: connect to address 127.0.0.1: Connection reset by peer

That sounds like you connected but qmail crashed or otherwise uncleanly
closed the socket.  Does a tcpdump on lo0 show any interesting activity when
you try that command?

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list