Run script on port connection

Link to this post 29 Jan 14

Hello everybody,

I'm not so smart with linux and I need to find a solution to a problem that's conceptually very easy.
I need to run a script that already works fine when a connection comes in a specific (any) port. I mean when I ping my server on a specific port, say the linux server runs a specific script in a PATH folder.
How can I get this?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Linux Training / Board