After downloading the Cassandra database from Apache Cassandra website and when you try to execute the cassandra.bat under /bin folder, you may get the below error if the port 7199 is used by some other application:
Starting Cassandra Server Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7199; nested exception is: java.net.BindException: Address already in use: JVM_Bind. Can anyone assists me in running cassandra successfully.
How to identify which application is blocking port #7199 and how to kill that?
Starting Cassandra Server Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7199; nested exception is: java.net.BindException: Address already in use: JVM_Bind. Can anyone assists me in running cassandra successfully.
How to identify which application is blocking port #7199 and how to kill that?
Download the TCPView from http://technet.microsoft.com/en-us/sysinternals/bb897437
Open the TCPView application and sort the output by PortClick on the record which points to Port - 7199Right click and "End Process"Now, run the Cassandra.bat and it should work.
Thank you, it worked for me .
ReplyDeleteGlad to know, it worked !
DeleteHow to do this on Ubuntu
ReplyDelete