<?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 script doesn't work using port 23 in inetd.conf in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581575#M89571</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have written an expect script and put it in inetd.conf using 5000 as port number. It works fine but my objective is to use port number 23 which is the telnet port. After I have changed the port number to 23, the telnet client just hang with a blank screen. &lt;BR /&gt;&lt;BR /&gt;Any pointer is appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;YC</description>
    <pubDate>Wed, 19 Sep 2001 12:02:17 GMT</pubDate>
    <dc:creator>yc_2</dc:creator>
    <dc:date>2001-09-19T12:02:17Z</dc:date>
    <item>
      <title>script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581575#M89571</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have written an expect script and put it in inetd.conf using 5000 as port number. It works fine but my objective is to use port number 23 which is the telnet port. After I have changed the port number to 23, the telnet client just hang with a blank screen. &lt;BR /&gt;&lt;BR /&gt;Any pointer is appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;YC</description>
      <pubDate>Wed, 19 Sep 2001 12:02:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581575#M89571</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2001-09-19T12:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581576#M89572</link>
      <description>You would need to change the Telnet port so some other value, then you would be able to use port 23 for your script.&lt;BR /&gt;You would then need to modify any telnet sessions for that machine to use the different port value.&lt;BR /&gt;To summarize, you can't have 2 separate processes (services) listening to the same port at the same time.&lt;BR /&gt;So, edit your /etc/services file, and look for these entries:&lt;BR /&gt;telnet          23/tcp&lt;BR /&gt;telnet          23/udp&lt;BR /&gt;&lt;BR /&gt;Change the 23 to some other value (a value not being used by another process).&lt;BR /&gt;Then add an entry for your process (replacing telnet with your process).&lt;BR /&gt;Then,  restart xinetd (the daemon responsible for telnet in a Linux box).&lt;BR /&gt;That should do it.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Wed, 19 Sep 2001 17:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581576#M89572</guid>
      <dc:creator>John Love_3</dc:creator>
      <dc:date>2001-09-19T17:45:04Z</dc:date>
    </item>
  </channel>
</rss>

