Google ads Horizontal

Monday, May 29, 2017

activemq port 61616 close/need to open

* First confirm Apache activemq is running
if not than run command in bin folder: activemq start
* iptables -L -n -t nat
* iptables -I INPUT -p tcp -m tcp --dport 61616 -j ACCEPT
* service iptables save

Saturday, May 20, 2017

Kill tomcat service running on any port, Windows

1) Go to (Open) Command Prompt (Press Window + R then type cmd Run this).
2) Run following commands
For all listening ports

netstat -aon | find /i "listening"

Apply port filter

netstat -aon |find /i "listening" |find "8080"

Finally with the PID we can run the following command to kill the process

Copy PID from result set

taskkill /F /PID

Ex: taskkill /F /PID 189

Done !!!