Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

telnet localhost 143 Connection closed by foreign host.

Uma Maheswar
Occasional Contributor

telnet localhost 143 Connection closed by foreign host.


Hi

I installed following depot files for pop3 and imap but pop3 is working fine, but imap is not working when i am doing telnet to localhost on 143, i am getting following error, please help me .
uasng074@root# telnet localhost 143
Trying...
Connected to localhost.corporate.ge.com.
Escape character is '^]'.
Connection closed by foreign host.
Thanks
Uma Maheswar
2 REPLIES
Geoff Wild
Honored Contributor

Re: telnet localhost 143 Connection closed by foreign host.

Looks like it is working - you were connected.

Try netstat -an |grep 143

Should see something like:

tcp 0 0 :::143 :::* LISTEN
tcp 0 0 ::ffff:127.0.0.1:143 ::ffff:127.0.0.1:38579 TIME_WAIT


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steven E. Protter
Exalted Contributor

Re: telnet localhost 143 Connection closed by foreign host.

Shalom,

thats a normal test response when a daemon is listening.

Thats what my imap daemon (dovecot) does when you directly connect to port 143.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com