A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
how to check if a service is running on a port in a remote machine
Joined: Feb 28, 2005
Jun 02, 2008 03:32:00
I need to check if a DB server is up or down running in a remote machine by giving the IP address and the port of the service. What
utility should I be using.
Joined: Oct 29, 2001
Jun 02, 2008 11:24:00
You could use a socket.
I'd probably use
to execute a query just to make sure the server is alive and working properly.
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
I agree. Here's the link:
subject: how to check if a service is running on a port in a remote machine
DataBase Server ping
Checking JBoss status remotely
JavaMail - Port 25 blocked?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014