How do I know what telnet port I am

From: Bivins, Jeff <BIVINS_at_nebeng.otis.com>
Date: Wed, 25 Mar 1998 13:00:00 -0500

Hello Managers,

I have an ASE cluster that provides services for an application that rides
on a telnet connection. I am trying to automate the login process so that
when a user telnet's to a particular ip address they startup a the correct
application. I can use netstat and collect where the ip connections
connecting from, I have not been successful on determining which connection
is my current process.

Example of a netstart -a | grep telnet command
tcp 0 0 otusschs-100.telnet 153.56.19.79.1051
ESTABLISHED
tcp 0 0 otusschs-devd1.telnet 153.56.19.79.1048
ESTABLISHED
tcp 0 0 otusschs-devd1.telnet 153.56.15.30.2303
ESTABLISHED
tcp 0 0 otusschs-devd1.telnet 153.56.21.239.1030
ESTABLISHED
tcp 0 0 otusschs-devd1.telnet 153.56.20.237.1032
ESTABLISHED
tcp 0 0 otusschs-100.telnet 153.56.20.13.1034
ESTABLISHED
tcp 0 0 otusschs-100.telnet 153.56.21.239.1031
ESTABLISHED
tcp 0 0 otusschs-devd1.telnet 153.56.20.13.1033
ESTABLISHED
tcp 0 0 *.telnet *.* LISTEN

How can I determine which one of these telnet sessions is associated with my
process.


Thanks,

Jeff
Received on Wed Mar 25 1998 - 19:04:49 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT