How to check if Telnet service is up and running in Servers

How to check if Telnet service is up and running in Servers

Notes
Note: Make sure the ports of the servers are open and the firewall is not blocking connections from the server in which Applications Manager is installed.

Commands to check if the Telnet service is running on servers and whether the necessary ports are open:

Linux
sudo systemctl status telnet
sudo netstat -tulnp | grep :23
ps aux | grep telnet

AIX
lslpp -l bos.net.tcpip | grep telnet
ps aux | grep in.telnetd

Sun Solaris
svcs telnet/tcp
svcs ssh/tcp
psrinfo -p sshd

Mac OS
ps aux | grep in.telnetd
psrinfo -p in.telnetd

FreeBSD
service telnetd status
ps aux | grep in.telnetd
netstat -an | grep :23

HP-UX
svcadm status svc:/network/telnet
ps aux | grep in.telnetd

                  New to ADSelfService Plus?