Linux| firewall| windows: open a socket , test a port

firewalllinuxport

I have a Linux machine.

The network has a very restrictive firewall config.

I want to reach this machine from a Windows computer using port 4449.

How can I test if communication is working correctly?

  • Open a socket and listen on port 4449. In Linux how? Using which utility?
  • Test the connection from Windows: telnet, or something else?

Best Answer

netcat is an utility that is included in many Linux distributions.

To listen on TCP port 4449 try

nc -v -l 4449

And on the client telnet should be perfect