Customary ping instruments can solely let you know if a server is reachable. However what if it’s worthwhile to take a look at particular providers, monitor HTTP responses, or verify in case your e mail server is definitely working? CryPing is a robust command-line instrument that extends normal ping performance far past fundamental connectivity assessments.
Distinction Between CryPing and Customary Ping
The standard ping instrument makes use of ICMP (Web Management Message Protocol) to verify if a server is on-line. That is useful to see if a server could be reached, but it surely doesn’t let you know if the providers on that server are literally working.
CryPing works in another way. This Home windows instrument can take a look at particular providers and protocols, providing you with extra detailed details about your community. As a substitute of simply asking, “Is the server on-line?”, CryPing can let you know issues like, “Is the net server working correctly?” or “Can I connect with the e-mail service?”
Learn Additionally: SRE vs DevOps: Which One Suits Your Group Greatest?
System Necessities for CryPing
CryPing is designed for Home windows environments and has been examined on:
- Home windows 2008 Server
- Home windows 2003 Server
- Home windows 7
- Home windows Vista
- Home windows XP
- Home windows 2000
Options of CryPing
Protocol-Particular Testing
CryPing permits you to take a look at rather more than simply fundamental community connectivity. It helps a number of protocols to verify if particular providers are operating correctly:
- HTTP testing for net servers
- SMTP testing for outgoing e mail servers
- POP3 testing for incoming e mail servers
- NNTP testing for newsgroup servers
- TCP port testing for any particular service
Monitoring and Alerting
CryPing comes with monitoring and alerting options that can assist you maintain monitor of your community:
- Audible alarms when connections fail or succeed
- Timestamped output for logging functions
- Steady monitoring till manually stopped
Superior Response Evaluation
Not like fundamental ping, CryPing can:
- Show full HTTP headers with the verbose flag
- Present particular HTTP standing codes (200 OK, 404 Not Discovered, and so forth.)
- Present detailed connection statistics
- Check particular net pages, not solely server connectivity
Use CryPing with Examples
Fundamental Community Connectivity Testing
The only method to make use of CryPing is to check the community connection between your present PC and a distant system (often one other PC). You possibly can specify the goal by both its DNS identify or its IP handle.
Instance: Pinging by DNS identify
cmdCopyEditC:>cryping www.instance.com
CryPing - from www.instance.com v1.6
Pinging www.instance.com [93.184.216.34] with 32 bytes of knowledge:Reply from 93.184.216.34: bytes=32 time=232ms TTL=248
Reply from 93.184.216.34: bytes=32 time=181ms TTL=248
Reply from 93.184.216.34: bytes=32 time=181ms TTL=248
Reply from 93.184.216.34: bytes=32 time=183ms TTL=248
Ping statistics for 93.184.216.34:
Requests: Despatched = 4, Acquired = 4, Misplaced = 0 (0% loss)
Approximate round-trip occasions:
Minimal = 181ms, Most = 232ms, Common = 194ms
Instance: Pinging by IP handle
cmdCopyEditC:>cryping 203.0.113.10
CryPing - from www.testserver.internet v1.6
Pinging 203.0.113.10 [203.0.113.10] with 32 bytes of knowledge:Reply from 203.0.113.10: bytes=32 time=180ms TTL=248
Reply from 203.0.113.10: bytes=32 time=180ms TTL=248
Reply from 203.0.113.10: bytes=32 time=180ms TTL=248
Reply from 203.0.113.10: bytes=32 time=182ms TTL=248
Ping statistics for 203.0.113.10:
Requests: Despatched = 4, Acquired = 4, Misplaced = 0 (0% loss)
Approximate round-trip occasions:
Minimal = 180ms, Most = 182ms, Common = 181ms
In case you can efficiently ping a distant system by IP handle however not by DNS identify, this implies an issue with DNS decision.
If CryPing is unable to connect with the required distant system, it might be as a consequence of a number of of the next causes:
- No community connection exists between your PC and the distant system.
- The handle you entered is wrong (extra doubtless when specifying an IP).
- The distant system is powered off.
- A firewall is obstructing ping requests.
- A brief community or web challenge is stopping connectivity.
Testing Internet Server Responses with CryPing
CryPing can even take a look at whether or not an internet server is responding to HTTP requests. Use the -http flag to have CryPing join utilizing HTTP.
Instance: HTTP Ping to a Internet Server
cmdCopyEditC:>cryping -http www.cryer.co.uk
CryPing - from www.instance.com v1.6
Pinging www.instance.com for HTTP standing:Reply from www.instance.com: 200 OK time=72ms
Reply from www.instance.com: 200 OK time=42ms
Reply from www.instance.com: 200 OK time=40ms
Reply from www.instance.com: 200 OK time=39ms
HTTP ping statistics for www.instance.com:
Requests: Despatched = 4, Responses = 4, Misplaced = 0 (0% loss)
200 OK acquired 4 occasions (100%)
Approximate round-trip occasions:
Minimal = 39ms, Most = 72ms, Common = 48ms
Instance: HTTP Ping to a Particular Web page
You may as well ping a particular web page on the server. For instance:
cmdCopyEditC:>cryping -n 1 -http www.instance.com/index.htm
CryPing - from www.instance.com v1.6
Pinging www.instance.com/index.htm for HTTP standing:Reply from www.instance.com/index.htm: 200 OK time=144ms
HTTP ping statistics for www.instance.com/index.htm:
Requests: Despatched = 1, Responses = 1, Misplaced = 0 (0% loss)
200 OK acquired 1 time (100%)
Approximate round-trip occasions:
Minimal = 144ms, Most = 144ms, Common = 144ms
Instance: HTTP Ping to a Lacking Web page
If the requested web page doesn’t exist, the server will return an acceptable HTTP error code, equivalent to 404 Not Discovered:
cmdCopyEditC:>cryping -n 1 -http www.instance.com/index
CryPing - from www.instance.com v1.6
Pinging www.instance.com/index for HTTP standing:Reply from www.instance.com/index: 404 Not Discovered time=58ms
HTTP ping statistics for www.instance.com/index:
Requests: Despatched = 1, Responses = 1, Misplaced = 0 (0% loss)
404 Not Discovered acquired 1 time (100%)
Approximate round-trip occasions:
Minimal = 58ms, Most = 58ms, Common = 58ms
Monitoring a Community Reference to Audible Alerts
CryPing can monitor a community connection for failures and sound an audible alarm (beep) when the connection is misplaced. That is helpful for preserving an ear on crucial connections with out consistently watching the display.
To allow this characteristic, use the -t and -alarm flags:
-tretains CryPing operating repeatedly till stopped (press Ctrl+C to cease).-alarm(or-afor brief) makes CryPing beep when a ping fails.
Instance: Alert on Failure
C:>cryping -t -alarm www.instance.com
CryPing - from www.instance.com v1.6 (construct June 2010)
Pinging www.instance.com[69.89.27.225] with 32 bytes of knowledge:
Reply from 69.89.27.225: bytes=32 time=179ms TTL=248
Reply from 69.89.27.225: bytes=32 time=182ms TTL=248
Reply from 69.89.27.225: bytes=32 time=180ms TTL=248
...
If the community connection fails, your pc will emit a beep. Ensure your audio system or system sound are enabled to listen to the alarm.
Inverting the Alert: Beep on Success
You possibly can reverse this conduct, beep on success as a substitute of failure utilizing the -beep flag as a substitute of -alarm. That is helpful in the event you choose a sound to substantiate profitable pings whereas staying silent on failure.
Instance: Beep on Success
C:>cryping -t -beep www.instance.com
CryPing - from www.instance.com v1.2 (construct June 2010)
Pinging www.instance.com [69.89.27.225] with 32 bytes of knowledge:
Reply from 69.89.27.225: bytes=32 time=181ms TTL=248
...
With this setup, the pc beeps each time a ping succeeds.
Checking Connections to Particular Ports with CryPing
CryPing can even take a look at connectivity to a particular port on a distant server. It is a easy and efficient strategy to confirm whether or not a service is listening and accepting connections on that port.
Instance: Testing FTP Port (21)
Port 21 is often utilized by FTP servers. To verify if a server is listening on port 21, use the -port flag adopted by the port quantity:
C:>cryping -port 21 www.instance.com
CryPing - from www.cryer.co.uk v1.6 (construct June 2010)
Pinging port 21 on www.instance.com:
Profitable connection to www.instance.com port=21 time=201ms
Profitable connection to www.instance.com port=21 time=192ms
Profitable connection to www.instance.com port=21 time=199ms
Profitable connection to www.instance.com port=21 time=196ms
Ping port statistics for port 21 on www.instance.com:
Requests: Made = 4, Profitable = 4, Failed = 0 (0% loss)
Approximate round-trip occasions:
Minimal = 192ms, Most = 201ms, Common = 197ms
The output exhibits that connections to port 21 have been profitable, indicating an FTP service is operating on the server.
Instance: Testing VNC Port (5900)
Port 5900 is utilized by the favored VNC distant desktop service. To check if VNC is operating on the server:
C:>cryping -port 5900 www.instance.com
CryPing - from www.instance.com v1.6 (construct June 2010)
Pinging port 5900 on www.instance.com:
Failed to connect with www.instance.com, port 5900
Failed to connect with www.instance.com, port 5900
Failed to connect with www.instance.com, port 5900
Failed to connect with www.instance.com, port 5900
Ping port statistics for port 5900 on www.instance.com:
Requests: Made = 4, Profitable = 0, Failed = 4 (100% loss)
On this instance, all makes an attempt to connect with port 5900 failed, confirming that the VNC service will not be operating on the server.
By specifying a port with the -port possibility, you possibly can shortly verify whether or not a selected service is on the market and responsive on the goal machine.
Testing Electronic mail Servers: SMTP and POP3
To completely take a look at that an e mail server is operational, you need to verify each SMTP and POP3:
- SMTP is the protocol used to ship e mail.
- POP3 is the protocol used to retrieve e mail.
CryPing permits you to take a look at every protocol individually, or each on the similar time. The instance under demonstrates easy methods to verify each protocols in a single command.
Instance: Checking SMTP and POP3 Collectively
C:>cryping -pop3 -smtp www.instance.com
CryPing - from www.instance.com v1.6 (construct July 2010)
Pinging www.instance.com for SMTP standing:
Pinging www.instance.com for POP3 standing:
Reply from www.instance.com: 220 Service prepared time=0.90s
Reply from www.instance.com: +OK Constructive - Success time=374ms
Reply from www.instance.com: 220 Service prepared time=0.70s
Reply from www.instance.com: +OK Constructive - Success time=379ms
Reply from www.instance.com: 220 Service prepared time=0.87s
Reply from www.instance.com: +OK Constructive - Success time=382ms
Reply from www.instance.com: 220 Service prepared time=0.71s
Reply from www.instance.com: +OK Constructive - Success time=376ms
SMTP ping statistics for www.instance.com:
Requests: Despatched = 4, Responses = 4, Misplaced = 0 (0% loss)
220 Service prepared acquired 4 occasions (100%)
Approximate round-trip occasions:
Minimal = 0.70s, Most = 0.90s, Common = 0.80s
POP3 ping statistics for www.instance.com:
Requests: Despatched = 4, Responses = 4, Misplaced = 0 (0% loss)
+OK Constructive - Success acquired 4 occasions (100%)
Approximate round-trip occasions:
Minimal = 374ms, Most = 382ms, Common = 378ms
The output exhibits that each the SMTP and POP3 servers are responding appropriately, with POP3 responding barely sooner than SMTP.
This characteristic of CryPing makes it simple to substantiate the well being and responsiveness of your e mail infrastructure.
In case you’d prefer to see the full HTTP response headers when pinging a web site, you possibly can add the -v (verbose) flag together with -http. This may help you examine server particulars, response metadata, and extra.
Instance: Displaying HTTP Headers
C:>cryping -http -v -n 1 www.instance.com
CryPing - from www.instance.com v1.6
Pinging www.instance.com for HTTP standing:
Reply from www.instance.com: 200 OK time=386ms
HTTP/1.1 200 OK
Date: Mon, 21 Jun 2010 12:51:55 GMT
Server: Apache/2.2.15 (CentOS) mod_ssl/2.2.15 0.9.8l DAV/2 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635
Final-Modified: Wed, 19 Might 2010 17:44:16 GMT
Settle for-Ranges: bytes
Content material-Size: 8049
Connection: shut
Content material-Sort: textual content/html
HTTP ping statistics for www.instance.com:
Requests: Despatched = 1, Responses = 1, Misplaced = 0 (0% loss)
200 OK acquired 1 time (100%)
Approximate round-trip occasions:
Minimal = 386ms, Most = 386ms, Common = 386ms
The verbose output contains normal HTTP headers equivalent to Date, Server, Final-Modified, Content material-Size, and Content material-Sort, offering worthwhile perception into the net server’s configuration and response.
Learn Additionally: Docker Swarm vs Kubernetes: Select the Proper Container Orchestration Device
Command Line Choices Defined
CryPing gives in depth customisation by means of command-line flags:
Protocol Choice:
- -tcp (default): Customary TCP/IP ping
- -http: HTTP protocol testing
- -smtp: SMTP e mail server testing
- -pop3: POP3 e mail server testing
- -nntp: NNTP newsgroup server testing
Monitoring Choices:
- -t: Run repeatedly till stopped
- -alarm: Beep on connection failure
- -b: Beep on connection success
- -d: Embody timestamps in output
Connection Parameters:
- -p port: Check particular port quantity
- -n depend: Variety of ping makes an attempt
- -r seconds: Delay between makes an attempt
- -v: Verbose output (exhibits HTTP headers)
When to Use CryPing Over Customary Ping?
Internet Server Monitoring: Customary ping solely checks if the server is on, however not if the web site works. CryPing’s HTTP take a look at makes certain the web site is loading correctly.
Electronic mail Server Checks: Electronic mail points typically occur with sending or receiving. CryPing can take a look at SMTP (sending) and POP3 (receiving) individually, so you possibly can see the place the issue is.
Service Troubleshooting: If an app can’t connect with a service, CryPing can take a look at the precise port and repair the app makes use of.
Automated Monitoring: CryPing can beep if a service stops working, so that you’ll know immediately even in the event you’re not watching the display.
Verdict
CryPing is a giant enchancment over the usual ping instrument. It could possibly verify particular providers, present extra detailed info, and even monitor connections for you. This makes it a really useful instrument for anybody managing networks.
You need to use it to search out out why a web site isn’t loading, repair e mail server points, or regulate your servers robotically. It provides you clear, service-specific outcomes so you possibly can clear up pronnnnnblems sooner.
CryPing is environment friendly and straightforward to make use of from the command line, and matches effectively into your typical work. On the similar time, it has highly effective options for critical community testing.

