How To Use netcat and telnet for Simple Network Testing
![Calendar](https://www.ericmichaelstone.com/wp-content/themes/me3/images/calendar.png)
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}
![]() |
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}