[dba-VB] Ping server port

Jim DeMarco Jdemarco at hshhp.org
Wed Jul 2 06:47:39 CDT 2003


Thanks Stuart,

I found a 30 day trial of an app called P-Ping that lets me query a specific port as well as check an IP for what services are available on it (www.29soft.com).

Thanks,

Jim DeMarco
Director of Product Development
HealthSource/Hudson Health Plan


-----Original Message-----
From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg]
Sent: Tuesday, July 01, 2003 6:30 PM
To: Jim DeMarco; dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] Ping server port


On 1 Jul 2003 at 11:13, Jim DeMarco wrote:

> List,
> 
> I'm been having a bit of a time getting a component that sends mail
> from a web form to work.  It's dll based and works on other sites of
> ours.  My boss suggested I ping the server to see if the SMTP port
> (25) is open (I haven't gotten a straight answer from our hardware
> staff).  Can anyone tell me how to do so? 
> 

Your boss doesn't quite have it right.

Ping will tell you if you can connect to the server, but doesn't tell 
you anything about Port 25. 

The 'ping' command generates an ICMP echo request packet. ICMP is a 
protocol over IP that implements "control messages" (flow control, 
routing, etc.). At that level the very concept of TCP/UDP ports is 
completely irrelevant.  

Start off with "PING \\MyServerName" or "Ping 10.10.10.1" or whatever 
if you know the IP Address of the mail server.

That will tell you whether you can see the Server or not.

If you get a valid response to the Ping, try telnetting into the  
Server with "TELNET \\MyServerName 25" or "TELNET \\10.10.10.1" or 
whatever.   You will either get a welcome message form the SMTP 
Server or see a "Connecting...." message which will time out. 

If you get a valid response from the SMTP Server,  just type QUIT and 
hit enter to get out again (note you will probably not see your 
keystrokes echoed to your screen, so make sure you type it 
corrrectly)



-- 
Lexacorp Ltd
http://www.lexacorp.com.pg
Information Technology Consultancy, Software Development,System 
Support.



_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com



***********************************************************************************
"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message.  Thank You".
***********************************************************************************



More information about the dba-VB mailing list