Tuesday 4 November 2014

Eclipse debugger waiting to connect when running through remote application.


Many a time happen that you are trying to connect your eclipse debugger through remote application server like JBOSS and it always shows waiting to connect.
This happens because the port you are trying to connect is bind to some another application.


Find and listening port


1. Go to run
2. Type cmd
3. Write this command ----------- 


netstat -ano | find "<port>"

*<port> you are trying to listen in my case this is 8080
you will get a list of process listening to that port





4. Kill all the task 


write this command 


taskkill /F /PID 7820


7820-- This is the Id which you can see in the last coloumn


That's it your port is free to use now.

Spring boot with CORS

CORS (Cross-Origin Resource Sharing) errors occur when a web application running in a browser requests a resource from a different domain or...