- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How to assign differrent port for Telnet?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО01-17-2007 01:10 AM
тАО01-17-2007 01:10 AM
How to assign differrent port for Telnet?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 01:31 AM
тАО01-17-2007 01:31 AM
Re: How to assign differrent port for Telnet?
Extra port : duplicate the service telnet (ucx add servi with the extra portno in /port) and enable it. Named it e.g. telnet2.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 12:50 PM
тАО01-17-2007 12:50 PM
Re: How to assign differrent port for Telnet?
I try command ucx add service ..., and error show unknown /service/..
Could you please give me exact command I should use?
If I setup correctly, when I use command TELNET x.x.x.x /port=1414, it should work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 03:08 PM
тАО01-17-2007 03:08 PM
Re: How to assign differrent port for Telnet?
If you are using TCP/IP Services, the command UCX SHOW VERSION will display the stack and version configuration info.
Are you planning to switch completely over to the other port, or start up a second parallel telnet server on the alternate port?
As for testing with a telnet client, connecting with an alternate port on OpenVMS V6.2 and later:
SET HOST/TELNET/PORT=n hostname (or hostid)
or you can use:
telnet/port=n hostname (or hostid)
Many telnet clients will also support:
telnet hostname port
telnet hostid port
For grins, you can try specifying port 80 and use telnet to connect into a node with a web server. Enter the command GET. Off you go, and with a really simple web browser: telnet.
If this port shuffle is for security, ssh or such is preferable to telnet -- a port scan will find a weird port pretty quickly. (And if it is to avoid local organizational policies that discourage use of telnet, the IT police will notice. Weird ports really stick out on typical network security logs, as they can indicate infections.) In most configurations, ssh is easy to set up, and easy to use. And it keeps the network IT folks happier.
TCP port 1414 is reserved to IBM WebSphere MQ; IBM MQseries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2007 12:14 AM
тАО01-18-2007 12:14 AM
Re: How to assign differrent port for Telnet?
The port 1414 will assign parallel for testing purpose, then we'll remove later.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2007 02:58 AM
тАО01-18-2007 02:58 AM
Re: How to assign differrent port for Telnet?
I have no same version of TCPIP to test it but on my version (VMS 7.3-2 V5.4 - ECO 2) the command works:
$ TCPIP SET SERVICE MYTELNET - /PORT=1414-
/FLAG=(listen,rtty,ipv6) -
/INACT=1/LIMIT=10000 - /SOCKET=(keep,receiv:3000,send:3000) -
/LOG=(activ,noaddr,deact,conn,error,login,logout,modify,reject) -
/PROC=""/USER=""/FILE=tcpip$telnet_run.exe
$ TCPIP ENABLE SERVICE MYTELNET
Now you can do:
$ TELNET hostname 1414
If you want to put it also on port 1415 replace the name of the service with a new name (services are stored by its names, so you can not have two services with the same name) and the port to 1415.
The /SOCKET,/LOG,/INACT and /LIMIT were copied from TCPIP SHOW SERVICE TELNET. The same is for the /FLAG qualifier. You can ommit the ipv6 keyword, but not rtty which tels that this is an remote interactive terminal and the system will prompt you for the username and password.
Bojan