netstat on linux

Coming from BSD, it so seemed that netstat -a would do the trick. However when I was running Active MQ, the console told me that port 8161 was being used but somehow netstat was not confirming that.

 Scratched my head, did a "man netstat" and it so figures that if the address cannot be resolved then that entry was not displayed. The answer is to perform;

netstat -anp =>that will take care of displaying 8161.

Leave a Reply

Your email address will not be published. Required fields are marked *

     

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">