<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: telnet: Unable to connect to remote host: Connection refused in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802344#M23770</link>
    <description>One more thing : you maybe only have to start the MTA. It's maybe already installed.&lt;BR /&gt;&lt;BR /&gt;To check the runing services on this host, use "netstat -ltpn"&lt;BR /&gt;That would give you all the open port and also the software binding it</description>
    <pubDate>Thu, 08 Jun 2006 07:19:47 GMT</pubDate>
    <dc:creator>fret</dc:creator>
    <dc:date>2006-06-08T07:19:47Z</dc:date>
    <item>
      <title>telnet: Unable to connect to remote host: Connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802338#M23764</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have one server, that when I do telnet, it shows me this message:&lt;BR /&gt;&lt;BR /&gt;# telnet 127.0.0.1 25&lt;BR /&gt;Trying 127.0.0.1...&lt;BR /&gt;telnet: Unable to connect to remote host: Connection refused&lt;BR /&gt;&lt;BR /&gt;I have this configuration:&lt;BR /&gt;&lt;BR /&gt;# netstat -rn&lt;BR /&gt;Kernel IP routing table&lt;BR /&gt;Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface&lt;BR /&gt;10.30.1.128     0.0.0.0         255.255.255.128 U         0 0          0 eth0&lt;BR /&gt;169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0&lt;BR /&gt;127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo&lt;BR /&gt;0.0.0.0         10.30.1.129     0.0.0.0         UG        0 0          0 eth0&lt;BR /&gt;&lt;BR /&gt;# ifconfig -a&lt;BR /&gt;eth0      Link encap:Ethernet  HWaddr 00:50:56:95:75:4E&lt;BR /&gt;          inet addr:10.30.1.178  Bcast:10.30.1.255  Mask:255.255.255.128&lt;BR /&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;BR /&gt;          RX packets:23587191 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;          TX packets:26078566 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;          collisions:0 txqueuelen:1000&lt;BR /&gt;          RX bytes:1787962940 (1705.1 Mb)  TX bytes:913539197 (871.2 Mb)&lt;BR /&gt;          Interrupt:9 Base address:0x1080&lt;BR /&gt;&lt;BR /&gt;lo        Link encap:Local Loopback&lt;BR /&gt;          inet addr:127.0.0.1  Mask:255.0.0.0&lt;BR /&gt;          UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;BR /&gt;          RX packets:260902 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;          TX packets:260902 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;          collisions:0 txqueuelen:0&lt;BR /&gt;          RX bytes:65076725 (62.0 Mb)  TX bytes:65076725 (62.0 Mb)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What can I do?&lt;BR /&gt;Thanks a lot of!&lt;BR /&gt;Carmen.&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802338#M23764</guid>
      <dc:creator>Carme Torca</dc:creator>
      <dc:date>2006-06-08T05:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: telnet: Unable to connect to remote host: Connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802339#M23765</link>
      <description>You tried to connect to port #25. Usuallt smtp listens on port 25. Please check your smtp daemon. Also you should check that the server listen on port 25 or not (netstat -n) and at last may be your daemon is not listen on loopback interface . try to telnet to 10.30.1.178 port 25&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802339#M23765</guid>
      <dc:creator>Delrish</dc:creator>
      <dc:date>2006-06-08T05:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: telnet: Unable to connect to remote host: Connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802340#M23766</link>
      <description>Carmen, do you have telnet enabled? &lt;BR /&gt;&lt;BR /&gt;Look for the file in /etc/xinetd.d/telnet and edit the line with 'disable' on to say 'no' instead of 'yes', then restart xinetd with the command 'service xinetd restart'. Off the top of my head you may also need to add some entries into /etc/securetty for pts/0, pts/1 etc.&lt;BR /&gt;&lt;BR /&gt;Telnet is usually enabled on port 23 - any reason why you are using 25? That's the smtp port.&lt;BR /&gt;&lt;BR /&gt;I'll let others comment on the security issues involved with telnet...</description>
      <pubDate>Thu, 08 Jun 2006 05:21:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802340#M23766</guid>
      <dc:creator>Barry Lowe</dc:creator>
      <dc:date>2006-06-08T05:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: telnet: Unable to connect to remote host: Connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802341#M23767</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have disable telnet &lt;BR /&gt;#telnet 127.0.0.1 25&lt;BR /&gt;&lt;BR /&gt;I need to connect to port 25, because one application needs its (don't ask me why!!), and its the same message:&lt;BR /&gt;&lt;BR /&gt;# telnet 127.0.0.1 25&lt;BR /&gt;Trying 127.0.0.1...&lt;BR /&gt;telnet: Unable to connect to remote host: Connection refused&lt;BR /&gt;&lt;BR /&gt;Any idea?&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802341#M23767</guid>
      <dc:creator>Carme Torca</dc:creator>
      <dc:date>2006-06-08T05:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: telnet: Unable to connect to remote host: Connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802342#M23768</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# telnet 10.30.1.178  25&lt;BR /&gt;Trying 10.30.1.178...&lt;BR /&gt;telnet: Unable to connect to remote host: Connection refused&lt;BR /&gt;&lt;BR /&gt;Its the same. How can I activate port 25?&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 08 Jun 2006 05:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802342#M23768</guid>
      <dc:creator>Carme Torca</dc:creator>
      <dc:date>2006-06-08T05:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: telnet: Unable to connect to remote host: Connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802343#M23769</link>
      <description>telnet isn't the pbl.&lt;BR /&gt;Here, telnet is used only on the client side to connect to a remote port.&lt;BR /&gt;You should also use netcat or nmap to check if the port is open.&lt;BR /&gt;&lt;BR /&gt;So concerning the port 25, it's the standard port for SMTP. An MTA (Mail transfert Agent) should be binded here.&lt;BR /&gt;&lt;BR /&gt;So if people ask you for the port 25 to be binded, I supposed they want to use an MTA !&lt;BR /&gt;Choose your favorite MTA an instal it (postfix, sendmail, qmail....)&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2006 07:17:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802343#M23769</guid>
      <dc:creator>fret</dc:creator>
      <dc:date>2006-06-08T07:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: telnet: Unable to connect to remote host: Connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802344#M23770</link>
      <description>One more thing : you maybe only have to start the MTA. It's maybe already installed.&lt;BR /&gt;&lt;BR /&gt;To check the runing services on this host, use "netstat -ltpn"&lt;BR /&gt;That would give you all the open port and also the software binding it</description>
      <pubDate>Thu, 08 Jun 2006 07:19:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802344#M23770</guid>
      <dc:creator>fret</dc:creator>
      <dc:date>2006-06-08T07:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: telnet: Unable to connect to remote host: Connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802345#M23771</link>
      <description>Hi Carmen, &lt;BR /&gt;&lt;BR /&gt;Try to start your sendmail or postfix daemon to listen in port '25'. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 08 Jun 2006 09:34:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802345#M23771</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-06-08T09:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: telnet: Unable to connect to remote host: Connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802346#M23772</link>
      <description>what does the "netstat -nap|grep 25 " say.&lt;BR /&gt;Make sure your application is running and its service binds with the loopback interface.&lt;BR /&gt;&lt;BR /&gt;-logu</description>
      <pubDate>Fri, 09 Jun 2006 01:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802346#M23772</guid>
      <dc:creator>Logu_2</dc:creator>
      <dc:date>2006-06-09T01:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: telnet: Unable to connect to remote host: Connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802347#M23773</link>
      <description>If you have rpm-based distro, you should &lt;BR /&gt;1) check if sendmail installed :&lt;BR /&gt;&lt;BR /&gt;rpm -qa|grep sendmail&lt;BR /&gt;&lt;BR /&gt;2) activate &amp;amp; start sendmail&lt;BR /&gt;&lt;BR /&gt;chkconfig sendmail on &lt;BR /&gt;servicew sendmail start&lt;BR /&gt;&lt;BR /&gt;Of course you can use postfix or other MTA instead of sendmail.</description>
      <pubDate>Fri, 09 Jun 2006 06:43:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/telnet-unable-to-connect-to-remote-host-connection-refused/m-p/3802347#M23773</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-06-09T06:43:13Z</dc:date>
    </item>
  </channel>
</rss>

