Using netcat as port listener
Advertisement
Short but useful tip:
If you want to test if a port is open on Linux (e.g. all firewalls were opened) but you don’t have the listening application installed yet, you can use nc/netcat.
On the server side do:
On the client side you can now connect to the listening port:
This is basically a telnet chat, so you can send strings which should then be received on the other side. If you want even more good uses for netcat, I recommend this blog post.