Editing Nping

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lowercase}}
 
Install <code>[[nmap]]</code><ref>https://nmap.org/</ref> tool, available at least for Windows, Mac and Linux and execute <code>[[nping --tcp]] -p 3306 172.16.22.218</code> to test tcp connectivity for port [[3306]] in host 172.16.22.218:
 
  
[[nping --tcp]] -p [[5432]] your_postgres_host -q
+
Install nmap<ref>https://nmap.org/</ref> tool, available at least for Windows, Mac and Linux and execute<code>nping --tcp -p 3306 172.16.22.218</code> to test tcp connectivity for port 3306 in host 172.16.22.218:
  
nping --[[tcp]] -p [[3306]] 172.16.22.218 [[-c 0]]
+
<pre>
Starting Nping 0.6.47 ( http://nmap.org/nping ) at 2019-03-12 09:47 UTC
+
nping --tcp -p 3306 172.16.22.218
SENT (0.0125s) TCP 172.16.22.18:2734 > 172.16.22.218:3306 S ttl=64 id=56345 iplen=40  seq=1546620167 win=1480  
+
 
SENT (1.0127s) TCP 172.16.22.18:2734 > 172.16.22.218:3306 S ttl=64 id=56345 iplen=40  seq=1546620167 win=1480  
+
Starting Nping 0.6.47 ( http://nmap.org/nping ) at 2019-03-12 09:47 UTC
RCVD (1.0129s) TCP 172.16.22.218:3306 > 172.16.22.18:2734 SA ttl=64 id=0 iplen=44  seq=1638376953 win=29200 <mss 1460>
+
SENT (0.0125s) TCP 172.16.22.18:2734 > 172.16.22.218:3306 S ttl=64 id=56345 iplen=40  seq=1546620167 win=1480  
SENT (2.0141s) TCP 172.16.22.18:2734 > 172.16.22.218:3306 S ttl=64 id=56345 iplen=40  seq=1546620167 win=1480  
+
SENT (1.0127s) TCP 172.16.22.18:2734 > 172.16.22.218:3306 S ttl=64 id=56345 iplen=40  seq=1546620167 win=1480  
RCVD (2.0143s) TCP 172.16.22.218:3306 > 172.16.22.18:2734 SA ttl=64 id=0 iplen=44  seq=1654006808 win=29200 <mss 1460>
+
RCVD (1.0129s) TCP 172.16.22.218:3306 > 172.16.22.18:2734 SA ttl=64 id=0 iplen=44  seq=1638376953 win=29200 <mss 1460>
SENT (3.0155s) TCP 172.16.22.18:2734 > 172.16.22.218:3306 S ttl=64 id=56345 iplen=40  seq=1546620167 win=1480  
+
SENT (2.0141s) TCP 172.16.22.18:2734 > 172.16.22.218:3306 S ttl=64 id=56345 iplen=40  seq=1546620167 win=1480  
RCVD (3.0157s) TCP 172.16.22.218:3306 > 172.16.22.18:2734 SA ttl=64 id=0 iplen=44  seq=1669652324 win=29200 <mss 1460>
+
RCVD (2.0143s) TCP 172.16.22.218:3306 > 172.16.22.18:2734 SA ttl=64 id=0 iplen=44  seq=1654006808 win=29200 <mss 1460>
 +
SENT (3.0155s) TCP 172.16.22.18:2734 > 172.16.22.218:3306 S ttl=64 id=56345 iplen=40  seq=1546620167 win=1480  
 +
RCVD (3.0157s) TCP 172.16.22.218:3306 > 172.16.22.18:2734 SA ttl=64 id=0 iplen=44  seq=1669652324 win=29200 <mss 1460>
 +
</pre>
  
 
<pre>
 
<pre>
Line 23: Line 24:
 
</pre>
 
</pre>
  
nping -tcp -p 443 google.com -c 0
+
* <code>nping -tcp -p 443 google.com -c 0</code>
  -c 0 number of probes. Default 5. If 0 run continuously.
+
-c 0 number of probes. Default 5. If 0 run continuously.
  
== Related terms ==
 
* <code>[[wget]]</code>
 
* [[Host sweep]]
 
* [[Nagios]]: <code>[[check_tcp]]</code>
 
* <code>[[nc -v]]</code>
 
  
 
== See also ==
 
== See also ==
* {{mtr}}
+
* {{nmap}}
 
* {{ping}}
 
* {{ping}}
* {{network performance}}
 
* {{nmap}}
 
 
  
 
[[Category:ping]]
 
[[Category:ping]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: