{"id":3805,"date":"2021-11-04T22:24:53","date_gmt":"2021-11-04T22:24:53","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=3805"},"modified":"2021-11-04T22:25:25","modified_gmt":"2021-11-04T22:25:25","slug":"solved-batch-to-telnet-to-different-ips","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/batch-to-telnet-to-different-ips\/27727.html","title":{"rendered":"Solved Batch To Telnet To Different IPs"},"content":{"rendered":"<p>Regularly, at work, I will be given a big list of IPs and different ports to check. In cases where I just need to show they&#8217;re reachable, I will make a batch file with multiple lines like<br \/>\nping 192.168.1.1<br \/>\nping 192.168.1.2<br \/>\n&#8230;<\/p>\n<p>but often, they need different ports. I usually just telnet into them and, if it goes to a black screen, I know it&#8217;s up. what I would like to do is something like I do above, but with telnet so it runs the command, closes the window when it opens and runs another. Any ideas?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":4},"question-category":[55],"question_tags":[],"class_list":["post-3805","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/3805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=3805"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=3805"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=3805"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=3805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}