0

I have tried to install cassandra on my Ubuntu test environment, but what happens when I try to start it is that I get the following error:

java.net.BindException: Address already in use

I have tried port 3072, 10032 and 8080 in the config, but it doesn't change. Still the same error.

So what can I do - can I free up the port number I want to use to let Cassandra take it?

Thanks

Industrial
  • 1,559
  • 5
  • 24
  • 37

1 Answers1

2

run netstat -ntlp to check what applications are using the ports then determine if you need them or not.

topdog
  • 3,490
  • 16
  • 13
  • 1
    You need to run netstat as root to get the processname with the -p option, but yeah, what topdog says, use netstat to identify the process and then decide if you need it on that port more than you need cassandra on that port, and if not, kill it. – Jason Tan Aug 14 '10 at 14:34