ping port | Unix Linux Forums | IP Networking

  Go Back    


IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

ping port

IP Networking


Tags
ping, ping port, port, port ping

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-02-2007
xia xia is offline
Registered User
 
Join Date: Feb 2007
Last Activity: 5 February 2007, 7:19 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
ping port

seems like a common request but i couldnt find a search on this forum (?!)

anyway just wondering if anyone can help me ping a server on a specific port (25 for smtp)

my web host is sure the smtp server is fine but i can't access it, altho i can use smtp on other servers ok

thanks for your help
Sponsored Links
    #2  
Old 02-02-2007
Krrishv Krrishv is offline
Registered User
 
Join Date: Dec 2006
Last Activity: 20 August 2014, 1:58 AM EDT
Location: CA,United States
Posts: 204
Thanks: 1
Thanked 0 Times in 0 Posts
What you want to acheive?

I think you have to telnet the IP in port 25 whether port 25 is opened for that IP. I dont think it should be ping.

telnet <ip Address> 25
Sponsored Links
    #3  
Old 02-05-2007
xia xia is offline
Registered User
 
Join Date: Feb 2007
Last Activity: 5 February 2007, 7:19 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
thanks Krrishv

i wanted to test that i could reach an smtp server, using something like

ping mail.myserver.com or ping mail.myserver.com:25 or ping smtp://mail.myserver.com

didn't find out how to make sure the ping work but did find the problem which was my isp blocking smtp to anything but its own server (i thought they hadnt because gmail smtp was working; but gmail uses a nonstandard port my isp wasn't blocking).
    #4  
Old 02-05-2007
_Spare_Ribs_'s Avatar
_Spare_Ribs_ _Spare_Ribs_ is offline
Registered User
 
Join Date: Dec 2006
Last Activity: 18 November 2008, 1:40 PM EST
Location: /dev/null
Posts: 72
Thanks: 0
Thanked 1 Time in 1 Post
Hi,

A ping isn't going to show you whether a port is open or not, all it really does these days it tell you whether a server has reply to ping response enabled and what the latency is reaching it.

If you want to check if you can access a certain port on a remote machine then telnet is always a safe bet since it's built in to almost all operating systems.

If you want something a little more advanced there are a several free port scanning programs out there you can use. One I personally use is Angry IP Scanner, but it's Windows based so I'm not sure whether it would be much help to you!
Sponsored Links
    #5  
Old 02-05-2007
xia xia is offline
Registered User
 
Join Date: Feb 2007
Last Activity: 5 February 2007, 7:19 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
angry sounds good

thanks for the tips

i was interested in using the traceroute function of ping to see where it was going awry, but thanks all for explaining a little of the virtues of telnet which i have only ever learnt a smidge about

i'm mostly in windows so i'm going to give this angry ip scanner a peek... i've been avoiding this whole networking business for far too long.

it is kind of cool peering into the void

thanks : )
Sponsored Links
    #6  
Old 02-05-2007
reborg's Avatar
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 
Join Date: Mar 2005
Last Activity: 29 March 2012, 7:00 PM EDT
Location: Ireland
Posts: 4,464
Thanks: 0
Thanked 11 Times in 11 Posts
Be very careful here. Terms of service for some ISPs will mean that your account will be summarily suspended if you portscan, and also in some countries it is a criminal offense to do so, please ensure that you are allowed to do this before trying.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Animation Ping on Solaris Like Cisco Ping gokcell Shell Programming and Scripting 1 12-04-2011 05:12 AM
How to enable Serial port on ILOM, when Network Port is enabled in parallel bobby320 Solaris 3 08-30-2011 12:56 PM
luxadm -e port shows one port not connected anwesh Solaris 9 03-30-2010 11:56 AM
can ping without firewall; no port 631 Sonshyne5 Linux 0 05-30-2008 06:11 PM
ping Port number of HPUX machine Teh Tiack Ein HP-UX 1 12-04-2005 03:38 PM



All times are GMT -4. The time now is 09:21 AM.