Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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: 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?


share|improve this question
up vote 2 down vote accepted

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

share|improve this answer
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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.