Jump to content

Archived

This topic is now archived and is closed to further replies.

insrtsnhere13

How to check status of a remote server

Recommended Posts

I have a friend running a ventrilo voice chat server on a linux fedora core 4 system. What I need to do is a have php check the status of the computer running the server. Basically, is the computer on or not. If anyone knows how to do this, please post. Thnaks a bunch

Share this post


Link to post
Share on other sites
Read this tipe [a href=\"http://www.phpit.net/faq/determining-if-a-pc-is-online/\" target=\"_blank\"]here[/a]. I would recommend the secound code snippet for checking whether a server/computer is online or not.

Share this post


Link to post
Share on other sites
thanks for your reply. that seems like its exactly what i need. I will deffinately try that out and get back to you later on today. thank!

Share this post


Link to post
Share on other sites
i tried this out a second ago and i changed the ip to my current ip adress as well as the port to one that i know is open on my router. windows firewall is disabled on my computer. yet it comes back as not being online..

Share this post


Link to post
Share on other sites
try port 80 or 8080 it should work. Also your routers firewall might be blocking the ping so try your routers ip address instead.

Share this post


Link to post
Share on other sites
no quite sure what you mean by try my routers ip address. im not hosting my own webserver so i belive that i need to use my exact ip adress

alright, i tried port 80 and 8080 and it did not work

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.