Sign in to follow this  
Followers 0
amakrkr

How to determine if website is running if u can't ping the address?

9 posts in this topic

Hello all,

i have the following question is there a way to determine if website is up and running without actually pinging it?

I have tried searching the forum and help but i dont even know what key word to use...

As i said i cant ping website ... "Ping time out"

Any ideas are most welcome!

Thanks for reading.

Share this post


Link to post
Share on other sites



If you cant ping it there are 2 possibilities:

1.It is down

2.Something is blocking your ping requests.

In most of the cases (90%) it is safe to conclude that site is down.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

If you cant ping it there are 2 possibilities:

1.It is down

2.Something is blocking your ping requests.

In most of the cases (90%) it is safe to conclude that site is down.

yea probably its my firewall or something then.

I will look into it.

Thx for your replay!

Edited by amakrkr

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

double srry

Edited by amakrkr

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

maybe you can try using InetGet(download the web page) to check if the site is on.

InetGet('http://google.com',@TempDir&'\index.htm')
If @error Then
    Msgbox(0,'','Google is down!')
Else
    MsgBox(0,'','Google is working!')
EndIf
Edited by MiserableLife

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

TRY THIS...

Ping ( "www.google.com", 250)
If @error Then
MsgBox(4096, "Status", "Your Web Site is DOWN" )
Else
MsgBox(4096, "Status", "Your Web Site is UP" )
EndIf
Edited by verma123

Share this post


Link to post
Share on other sites

Hi verma123,

this thread has been quiet for more than two years. Do you think the problem hasn't been solved by now?

Btw: your "solution" doesn't do what the OP needed.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

:-/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0