{"id":7320,"date":"2015-01-12T00:12:47","date_gmt":"2015-01-11T15:12:47","guid":{"rendered":"https:\/\/the-world-star.com\/?p=7320"},"modified":"2026-11-28T17:39:10","modified_gmt":"2026-11-28T08:39:10","slug":"how-to-check-open-ports-and-listening-services-on-your-server","status":"publish","type":"post","link":"https:\/\/the-world-star.com\/en\/server\/how-to-check-open-ports-and-listening-services-on-your-server-7320\/","title":{"rendered":"How to Check Open Ports and Listening Services on Your Server"},"content":{"rendered":"<p>When setting up a network server and things aren&#039;t working quite right, you often find yourself wondering: Is it actually listening on the port?<br \/>\n1. Verifying that the server is actively listening<br \/>\nFor example, to check port 5900 for a VNC server, run the following command in your shell:<br \/>\n$netstat -t | grep 5900<br \/>\ntcp        0      0 192.168.11.9:5900       192.168.11.6:64075      ESTABLISHED<br \/>\ntcp6       0      0 [::]:5900               [::]:*                  LISTEN<br \/>\nIf something shows up, you&#039;re good to go.<br \/>\n2. Checking if the IP and port are reachable from the outside<br \/>\nYou could disable Wi-Fi on your smartphone and use cellular data to test your client app, but if you need to check specific port details, a quick web search for network check tools can be very helpful.<a href=\"http:\/\/www.cman.jp\/network\/index.html\" target=\"_blank\" title=\"http:\/\/www.cman.jp\/network\/index.html\" rel=\"noopener\">http:\/\/www.cman.jp\/network\/index.html<\/a>2.1 Are you properly registered with DNS?<br \/>\nSince external IP addresses tend to change, I use a free dynamic DNS (DDNS) service. If you can&#039;t access your server via its hostname, you won&#039;t be able to connect when you&#039;re away from home.<br \/>\nJust click &quot;DNS Check&quot; from the menu on the left, enter your server name and domain, and it will perform an nslookup for you.<a href=\"http:\/\/www.cman.jp\/network\/support\/nslookup.html\" target=\"_blank\" title=\"http:\/\/www.cman.jp\/network\/support\/nslookup.html\" rel=\"noopener\">http:\/\/www.cman.jp\/network\/support\/nslookup.html<\/a>2.2 Port Checking<br \/>\nSelect &quot;Port Check&quot; from the left-hand menu, enter your server name or IP address along with the target port number (such as 5900 for VNC), and run the test.<br \/>\nIf you see a message like:<br \/>\n&quot;Successfully accessed host: xxxx.xxx.xxx, port: 5900.&quot;<br \/>\nThen you&#039;re all set!<br \/>\nIf the check fails, the usual culprits are incorrect router port-forwarding settings or the server software not running properly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When setting up a network server and things aren&#039;t working quite right, you often find yourself wondering: Is it actually listening on the port? 1. Verifying that the server is actively listening For example, to check port 5900 for a VNC server, run the following command in your shell: $netstat -t | grep 5900 tcp [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2137,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/175.41.248.22\/uncategorized\/%e3%83%9d%e3%83%bc%e3%83%88%e3%81%aelisten%e3%81%ae%e7%a2%ba%e8%aa%8d-1311\/","_lightning_design_setting":{"layout":"default"},"footnotes":""},"categories":[3],"tags":[1457,1458,67,134,139,140],"class_list":["post-7320","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-port-check","tag-router","tag-server","tag-ubuntu","tag-vnc","tag-listen","en-US"],"_links":{"self":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/7320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/comments?post=7320"}],"version-history":[{"count":1,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/7320\/revisions"}],"predecessor-version":[{"id":7321,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/7320\/revisions\/7321"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media\/2137"}],"wp:attachment":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media?parent=7320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/categories?post=7320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/tags?post=7320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}