How To Use netcat and telnet for Simple Network Testing

Published Date Author: , Posted January 27th, 2015 at 6:16:55pm

yum install nc

SERVER-SIDE:
host1 shell> echo hello | nc -l 3456

CLIENT-SIDE:
host2 shell> nc host1 3456
hello

~or~

CLIENT-SIDE:

yum install telnet
host1 shell> telnet host2 {PORT}

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.