{"id":984,"date":"2012-10-19T16:18:50","date_gmt":"2012-10-19T16:18:50","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=984"},"modified":"2012-10-19T16:18:50","modified_gmt":"2012-10-19T16:18:50","slug":"how-do-i-ping-a-specific-port-on-a-remote-server","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=984","title":{"rendered":"How do I ping a specific port on a remote server?"},"content":{"rendered":"<p><strong>Question: <\/strong><\/p>\n<p>How do I ping a specific port of a remote server? I need to find out whether the port on the remote server is open.<\/p>\n<p><strong>Answer: <\/strong><\/p>\n<p>ping utility does not allow you to ping specific port on you remote server. To see whether a specific port is open on a remote server you can use port-scanner such as nmap or simply try connect to a socket ( IP-address:port ) using telnet. In the example below we test whether a port number of TCP port 80 is open a host google.com:<\/p>\n<pre># nmap -p 80 -sT google.com\r\nor\r\n# nmap -p 80 google.com<\/pre>\n<p>To test a UDP port 80 use:<\/p>\n<pre># nmap -p 80 -sU google.com<\/pre>\n<p>other way to test whether a specific port is open on a remote server is to use telnet command. Below we test whether a port 443 on host google.com is open:<\/p>\n<pre># telnet google.com 443\r\nTrying 74.125.237.19...\r\nConnected to google.com.\r\nEscape character is '^]'.<\/pre>\n<p>The output above shows that port 433 is opened on host google.com.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: How do I ping a specific port of a remote server? I need to find out whether the port on the remote server is open. Answer: ping utility does not allow you to ping specific port on you remote server. To see whether a specific port is open on a remote server you can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-984","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=984"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/984\/revisions"}],"predecessor-version":[{"id":985,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/984\/revisions\/985"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}