unable to connect to remote host: Connection refused

From: Asiye Yigit (Asiye.Yigit_at_gantek.com)
Date: 10/28/04

  • Next message: mounir.stambouli: "Solaris equivalent for slibclean and dump -Hv ?"
    Date: Thu, 28 Oct 2004 13:07:24 +0300
    To: sunmanagers@sunmanagers.org
    
    

    Hi All,
    I have one question for you.
    I can not see anything about smtp in the output of the "netstat -a" command.
    I have checked /etc/services files. It says the following about smtp:

    root_on_leopard:/etc/init.d $ grep smtp /etc/services
    smtp 25/tcp mail
    root_on_leopard:/etc/init.d $

    I have also checked the /etc/nsswitch.conf for services entry, it is the
    following,

    root_on_leopard:/etc/init.d $ grep services /etc/nsswitch.conf
    # "hosts:" and "services:" in this file are used only if the
    services: files
    root_on_leopard:/etc/init.d $

    However, when I try to connect to the system throug the port 25,
    it says the following:

    #telnet 0 25
    Trying 0.0.0.0...
    telnet: Unable to connect to remote host: Connection refused
    #

    I think the main problem is that there is nothing about smtp in the
    output of the
    netstat -a command. What things I need to check about this problem?

    I can connect to the system via telnet 0 command with the default telnet
    port. In addition to the above,
    I have sent HUP singal to inetd process. Nothing has changed.

    I would appreciate any help!

    Regards,

    Asiye
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: mounir.stambouli: "Solaris equivalent for slibclean and dump -Hv ?"

    Relevant Pages

    • Re: SMTP Telnet test fails on Exchange 2003 from DMZ
      ... doing Telnet to port 25 may not work with the fixup protocol smtp ... command, especially with a Telnet client that does character mode." ... There is a setting on Windows IIS 5 SMTP service where you can say HELO ...
      (microsoft.public.exchange.connectivity)
    • Re: SMTP Telnet test fails on Exchange 2003 from DMZ
      ... doing Telnet to port 25 may not work with the fixup protocol smtp ... command, especially with a Telnet client that does character mode." ... There is a setting on Windows IIS 5 SMTP service where you can say HELO ...
      (microsoft.public.exchange.admin)
    • Re: SMTP Telnet test fails on Exchange 2003 from DMZ
      ... doing Telnet to port 25 may not work with the fixup protocol smtp ... command, especially with a Telnet client that does character mode." ... There is a setting on Windows IIS 5 SMTP service where you can say HELO ...
      (microsoft.public.windows.server.sbs)
    • RE: strange SMTP behaviour
      ... Let's use telnet utility to repro the SMTP session: ... and press ENTER at the command prompt. ... e) Type the following command to tell the SMTP server whom the message is ... Choose the "Reverse DNS lookup" at the middle column. ...
      (microsoft.public.exchange.connectivity)
    • Outlook 2003 can not send email
      ... Server, which is running the SMTP service, go to a command ... (from the command prompt) Telnet ...
      (microsoft.public.outlook)