Print Page | Close Window

Check if server is online

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=4172
Printed Date: 30 March 2026 at 6:30am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Check if server is online
Posted By: eagle00789
Subject: Check if server is online
Date Posted: 10 July 2003 at 3:36am

How can i check if a server (and service) are running?

Greetings Chris



-------------
Using forum at http://www.gravenrode.nl/forum/forum - Gravenrode and http://www.gravenrode.nl/forum/test_forum - here and http://217.121.39.22/forum/test_forum - here



Replies:
Posted By: Bluefrog
Date Posted: 10 July 2003 at 7:28am
ping yourserver.com


Posted By: eagle00789
Date Posted: 10 July 2003 at 7:50am

I meant by using ASP, to check if the ftp-service and exchange-service are running.

greetings Chris



-------------
Using forum at http://www.gravenrode.nl/forum/forum - Gravenrode and http://www.gravenrode.nl/forum/test_forum - here and http://217.121.39.22/forum/test_forum - here


Posted By: zMaestro
Date Posted: 12 July 2003 at 4:17pm

In my control Panel there is something like this... but i don't have its code.. so keep searching

for checking the server itself.. there is a free service http://www.MonMe.com - www.MonMe.com that do this job for you.



Posted By: eagle00789
Date Posted: 12 July 2003 at 4:19pm
I know there has to be a function or something like that in asp to check it

-------------
Using forum at http://www.gravenrode.nl/forum/forum - Gravenrode and http://www.gravenrode.nl/forum/test_forum - here and http://217.121.39.22/forum/test_forum - here


Posted By: Bunce
Date Posted: 12 July 2003 at 7:31pm

nope.  You can use a component called xmlhttp though, to test for a response.  I'm assuming you mean a web server.

Cheers,
Andrew



-------------
There have been many, many posts made throughout the world...
This was one of them.


Posted By: Mart
Date Posted: 13 July 2003 at 4:18am

GotothisURL = "Yoursite.com/status.txt"

Set GetConnection = CreateObject("Microsoft.XMLHTTP")

GetConnection.Open "get", GotothisURL, False
on error resume next
GetConnection.Send

if not err.number <> 0 Then

'content if the link is good

else

'content if link is bad

end if



Posted By: eagle00789
Date Posted: 13 July 2003 at 10:13am

THX. this is what i meant. but how about the exchangeservice?? is there a way to check if that is still running??

greetings chris



-------------
Using forum at http://www.gravenrode.nl/forum/forum - Gravenrode and http://www.gravenrode.nl/forum/test_forum - here and http://217.121.39.22/forum/test_forum - here



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net