fail to telnet localhost 106

Discussion in 'Server Operation' started by satimis, Dec 16, 2007.

  1. satimis

    satimis Member

    Hi folks,


    Ubuntu 7.04 server amd64


    On running;

    $ telnet localhost 106
    Code:
    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused
    

    $ netstat -an | grep 106
    $ sudo netstat -an | grep 106
    both no printout


    Pls advise where shall I check and how to fix the problem. TIA


    P.S.
    1)
    confirmed with ISP port 106 is open

    2)
    I'm adding "change password" plugin on SquirrelMail. After installing poppassd on repo I tested it whether works according to /usr/local/squirrelmail/www/plugins/change_pass/INSTALL
    Code:
    Be sure to test and make certain your poppass daemon is working properly.
    To test, try telneting into the daemon and changing a password:
    
    $ telnet localhost 106
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    200 poppassd v1.8.1 hello, who are you?
    user <username>
    200 Your password please.
    pass <oldpassword>
    200 Your new password please.
    newpass <newpassword>
    200 Password changed, thank-you.
    quit
    200 Bye.
    Connection closed by foreign host.
    

    B.R.
    satimis
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What service do you think is running on port 106? POP3 is running on port 110.
     
  3. satimis

    satimis Member

    SquirrelMail - to change password

    satimis
     
  4. twoboy

    twoboy New Member

    Is poppassd running? (ps aux | grep popassd)
    No?
    Check man page to see how to get it running:
    "poppassd runs from inetd and listens on TCP port 106 by default. ..."

    Do you have inetd running or maybe xinetd?
    Check that poppassd is set up to be run by whichever your system is using.
     
  5. satimis

    satimis Member

    Thanks for your advice.


    Problem solved after reinstalling poppassd and adding openbsd-inetd. "Change password> on SM is now working,


    B.R.
    satimis
     

Share This Page