{"id":243,"date":"2007-03-08T21:20:56","date_gmt":"2007-03-09T02:20:56","guid":{"rendered":"http:\/\/www.juixe.com\/techknow\/index.php\/2007\/03\/08\/scan-your-ports\/"},"modified":"2007-03-08T21:20:56","modified_gmt":"2007-03-09T02:20:56","slug":"scan-your-ports","status":"publish","type":"post","link":"http:\/\/juixe.com\/techknow\/index.php\/2007\/03\/08\/scan-your-ports\/","title":{"rendered":"Scan Your Ports"},"content":{"rendered":"<p>There comes a time in a developer&#8217;s life that the he needs to scan his own ports.  I recently had to do this because some process, other than my JBoss Application Server was hogging the port 1099.  I kept getting a JVM_Bind error when I started the application server because the port was in use but I couldn&#8217;t figure out what process was using that port.  Usually when I have a JVM_Bind error I just kill all Java processes, but in this case I didn&#8217;t have any Java programs running.  In the end, after scanning my ports, I found out that Skype had port 1099 in use.<\/p>\n<p>To scan your which ports are in use in you development machine you can use <a href=\"http:\/\/www.microsoft.com\/technet\/sysinternals\/Networking\/TcpView.mspx\">TCPView<\/a> from Microsoft.  TCPView is part of Microsoft&#8217;s <a href=\"http:\/\/www.microsoft.com\/technet\/sysinternals\/default.mspx\">Windows Sysinternals<\/a> utilities.<\/p>\n<p>If you are a prompt type of of person and you have MKS NT or <a href=\"http:\/\/www.cygwin.com\/\">Cygwin<\/a> you can use the following command to find out what process is using port 1099.<\/p>\n<pre>\nnetstat -ao | grep 1099\n<\/pre>\n<p>Technorati Tags: <a href=\"http:\/\/technorati.com\/tag\/java\" rel=\"tag\">java<\/a>, <a href=\"http:\/\/technorati.com\/tag\/jboss\" rel=\"tag\"> jboss<\/a>, <a href=\"http:\/\/technorati.com\/tag\/tcpview\" rel=\"tag\"> tcpview<\/a>, <a href=\"http:\/\/technorati.com\/tag\/sysinternals\" rel=\"tag\"> sysinternals<\/a>, <a href=\"http:\/\/technorati.com\/tag\/windows\" rel=\"tag\"> windows<\/a>, <a href=\"http:\/\/technorati.com\/tag\/jvm\" rel=\"tag\"> jvm<\/a>, <a href=\"http:\/\/technorati.com\/tag\/jvm_bind\" rel=\"tag\"> jvm_bind<\/a>, <a href=\"http:\/\/technorati.com\/tag\/1099\" rel=\"tag\"> 1099<\/a>, <a href=\"http:\/\/technorati.com\/tag\/cygwin\" rel=\"tag\"> cygwin<\/a>, <a href=\"http:\/\/technorati.com\/tag\/netstat\" rel=\"tag\"> netstat<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There comes a time in a developer&#8217;s life that the he needs to scan his own ports. I recently had to do this because some process, other than my JBoss Application Server was hogging the port 1099. I kept getting a JVM_Bind error when I started the application server because the port was in use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[15,19,3],"tags":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p902K-3V","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/243"}],"collection":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":0,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"wp:attachment":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}