HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- script doesn't work using port 23 in inetd.conf
Operating System - Linux
1828036
Members
2533
Online
109973
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 05:02 AM
09-19-2001 05:02 AM
script doesn't work using port 23 in inetd.conf
Hi,
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.
Any pointer is appreciated.
YC
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.
Any pointer is appreciated.
YC
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 10:45 AM
09-19-2001 10:45 AM
Re: script doesn't work using port 23 in inetd.conf
You would need to change the Telnet port so some other value, then you would be able to use port 23 for your script.
You would then need to modify any telnet sessions for that machine to use the different port value.
To summarize, you can't have 2 separate processes (services) listening to the same port at the same time.
So, edit your /etc/services file, and look for these entries:
telnet 23/tcp
telnet 23/udp
Change the 23 to some other value (a value not being used by another process).
Then add an entry for your process (replacing telnet with your process).
Then, restart xinetd (the daemon responsible for telnet in a Linux box).
That should do it.
John
You would then need to modify any telnet sessions for that machine to use the different port value.
To summarize, you can't have 2 separate processes (services) listening to the same port at the same time.
So, edit your /etc/services file, and look for these entries:
telnet 23/tcp
telnet 23/udp
Change the 23 to some other value (a value not being used by another process).
Then add an entry for your process (replacing telnet with your process).
Then, restart xinetd (the daemon responsible for telnet in a Linux box).
That should do it.
John
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP