Outgoing is very simple - manually: telnet aixhost 8420 or telnet aixhost 8422
I often use telnet anyhost 80 to test for presence of the http server (or telnet anyhost 22 for ssh) - especially when ping fails - as ping gets blocked so often.
Further, for one of the two port numbers you can automate it somewhat.
root@nim[ / ]:grep telnet /etc/services
telnet 23/tcp # Telnet
telnet 23/udp # Telnet
root@nim[ / ]:grep telnet /etc/inetd.conf
telnet stream tcp6 nowait root /usr/sbin/telnetd telnetd -a
Edit the lines in /etc/services to the port number you want. The first column (the keyword
telnet) in /etc/inetd.conf substitutes for that number.
So what you will want is something like:
telnet 8420/tcp # Telnet modified
telnet 8420/udp # Telnet modified
Do not forget to verify that 8420 or 8422 is not in use by something else.