[ajug-members] checking for server availability

Rob Worsnop rworsnop at gmail.com
Fri Apr 6 13:36:59 EDT 2007


On 4/6/07, Paul McKibben <pmckibben at gmail.com> wrote:
> Are you trying to verify (1) that a physical server machine is up and
> running and reachable on the network, or (2) that a particular server
> process is running and able to respond to messages?
>
> For (1), you could try InetAddress.isReachable() -- I believe you need Java
> 5 or later.

He wanted to be able to test the port, not just the machine.



More information about the ajug-members mailing list