473,800 Members | 2,227 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ping Another Server's IP???

I need to determine from ASP if the database server is up and running, and
if it isn't ping another database server. I posted this before about a
different client, and I was told to request a file from the IIS server, and
if I cannot retrieve it, the server is not there. I cannot use this method
due to one database box being Solaris and the other UNIX, so I need to ping.

Thanks!
David Lozzi
Jul 19 '05 #1
2 1948
Couldn't you simply try establishing a database connection to the other
database server? That's what it's there for, after all?

Besides, pinging the server only tells you that the external nic is enabled
and it is accepting traffic. Never mind that the server might be set to
"hide" from pings (e.g. ping www.microsoft.com, you know it exists, right?),
even if a ping is positive, that doesn't tell you whether the database
service is running, or if it will accept your credentials when you log on.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"David Lozzi" <dl****@delph i-ts.com> wrote in message
news:OD******** ******@TK2MSFTN GP11.phx.gbl...
I need to determine from ASP if the database server is up and running, and
if it isn't ping another database server. I posted this before about a
different client, and I was told to request a file from the IIS server, and if I cannot retrieve it, the server is not there. I cannot use this method
due to one database box being Solaris and the other UNIX, so I need to ping.
Thanks!
David Lozzi

Jul 19 '05 #2
WOW, thank you. Its been a rough day for me ;)

Thanks,
David Lozzi
"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Couldn't you simply try establishing a database connection to the other
database server? That's what it's there for, after all?

Besides, pinging the server only tells you that the external nic is enabled and it is accepting traffic. Never mind that the server might be set to
"hide" from pings (e.g. ping www.microsoft.com, you know it exists, right?), even if a ping is positive, that doesn't tell you whether the database
service is running, or if it will accept your credentials when you log on.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"David Lozzi" <dl****@delph i-ts.com> wrote in message
news:OD******** ******@TK2MSFTN GP11.phx.gbl...
I need to determine from ASP if the database server is up and running, and if it isn't ping another database server. I posted this before about a
different client, and I was told to request a file from the IIS server,

and
if I cannot retrieve it, the server is not there. I cannot use this method due to one database box being Solaris and the other UNIX, so I need to

ping.

Thanks!
David Lozzi


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
5678
by: Alexandre Plennevaux | last post by:
hello ! I would like to measure the time a user needs to connect to my website. In other words, to perform a ping between my website and the user's computer. I'm scratching my head as to how i can do that. Does anyone know a good way to make this happen? thanks a lot,
0
1673
by: Sleiman | last post by:
Hello newsgroup readers I am looking for a php implementation for xmlrpc ping server. Do you have any idea where I can find one? Using mod_pubsub I can have a very nice blogchatter style of xmlrpc ping server, but it is in perl and my client's system admin has moved away from perl. What my client wants: a real-time listing of blogs most recently
4
1930
by: Tim Marshall | last post by:
Originally posted with Comp.lang.php spelt stupidly incorrectly. Please accept my apologies for the resultant multi-post.... Hi, I'm cross posting to comp.infosystems.www.authoring.html and comp.languages.php. Our IT staff who usually do this sort of thing are rather busy and I am desperately looking at an impending deadline. My organization's web page is on a server which has php. A work request web server is on a separate server...
3
2269
by: Jason Rodman | last post by:
I have downloaded every example on how to create a ping utility in .Net in both VB and C#, but have been disappointed with the results. I have YET to find an example that returns consistent results that are even close the the actual ping command line utility. For example: If i would ping the same server over and over, some pings would come back in 0 milliseconds, others would come back in 15, but never in between. It would always jump...
14
42895
by: Egil Hansen | last post by:
Hi I'm wondering if its possible to write a javascript, that can ping a ip and return the average round trip time (like ping in dos/linux)? Regards, Egil.
13
3241
by: Adam | last post by:
Hi! I'm trying to write a small application for an online gaming site (flight sims), where people can add their local server to a list. Basically, I just need to be able to loop/ping each respective server - via a specific port (2934 or 2935) to see whether the server is still "live", so the hosters don't have to manually update their status on the site. Everything I've seen seems overly complex. Efforts so far have returned info via...
2
2125
by: Devin | last post by:
I am trying to figure out a way to ping IP address. This is because we assign all of our IP address in house, and when we are assigning a new one, we wish to verify that it is not already in use. THis functionality needs to be webpage based though. Basically all I need is a way to tell a computer to ping a certian IP, and tell me if it is in use or not. Any ideas? If someone could provide some code that would do that it would be greatly...
1
1341
by: John | last post by:
When I ping my server over the internet connection and the server isn't responding due to the connection not working properly is it possible in .Net to reconnect the connection if the ping is unsuccesful? Thanks.
3
4273
by: shaid | last post by:
Hi all, I want to ping or try to check the avability of a local server. Is there any way to do it directly from an ASP page just by pressing a buttun? I just want to do the "ping" command direcdry from an ASP page! Thanks, Shai
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10275
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.