You could run a script that periodically uses nmap to test whether the port is open. (nmap -p 1404).
This will tell you whether the application (or any application) has opened the port for receive.It will not tell you that the "upper" layers of the logic of your code are working though.
You say "your" code - if you mean by this that you wrote the cod and therefore have access to the source code then assuming that the application accepts messages from clients, processes them and then returns a response it should be possible to write a "loopback" transaction where a client sends a known message to the application and gets a known response back.
Once you've done this you could write a script that uses the Expect product in conjunction with Telnet (to port 1404) to periodically send the "loopback" message and test for a valid response.
Let me know if you want to explore this line of thinking more fully and I'll post more detailed information.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.