Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA control port appears to be in use within Debian

I am trying to install JIRA 5.1.8 on a brand new debian 6.0.6 system. The problem I'm facing is that application keeps throwing the message

"The Control port you have chosen appears to be in use. Please choose a different port number."

and I can't pass beyond this step.

No matter which port I choose I get the same response. I have tried tried 4540, 8004, 8005, 8015, 8102, and 10600.

Exact response is below:

Configure which ports JIRA will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to Startup and Shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]
The Control port you have chosen appears to be in use. Please choose a different port number.

6 answers

1 accepted

0 votes
Answer accepted

After many days fighting for this i have decided to reinstal OS to CentOS and everything worked like a charm!

I also struggled with this problem. Later I changed shutdown port from "8005" to "8015" and the listening port from "8080" to "8100". It worked.

I've configured it on port 8006 and it works fine.

Like Maryna Nesterenko likes this

@Divya Goel

Clear and Simple Solution , No need of Further Discussion..thanks

In other words, you already had something running on those ports, so you followed the advice to move to other ports.

Thank you @Divya Goel

Thank you @Divya Goel ! Changing the ports worked for me! 

Also, how would I know what I already have running on ports 8005 and 8080?

0 votes

Try the "netstat" command to see what is listening on your ports.

"sudo netstat -plant | grep 8005" might be a lot more useful, but I don't use Debian a lot, so I'm not 100% sure of the flags.

Thanks Nic, but i tried it and don't see any big issue.

I get nothing when i grep to 8005, and this is the result when i dont gerp it:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0* LISTEN 1017/portmap
tcp 0 0* LISTEN 2162/sshd
tcp 0 0* LISTEN 2156/master
tcp 0 0 SERVER_IP_HERE:22 MY_IP_HERE:7668 ESTABLISHED 16418/sshd: daniel.
tcp6 0 0 :::22 :::* LISTEN 2162/sshd

Any other ideas?

Ah! Yes, actually. Netstat is still my friend, but it's a bit more obscure than "something else using the port".

I suspect you might have run into a problem (bug?) I've hit before with Linux boxes and java. I was using a mixed IPV 4 and 6 stack. For some reason I never worked out, the application (it wasn't an Atlassian one) tested the IPV4 ports you told it to, then reported every single one of them as held open if IPV6 was enabled.

Just as a test to see if I'm barking in completely the wrong forest (again), could you temporarily disable ipv6 - and see if that changes the error?

Thanks again Nic. Just tried it and still getting the same output.

Not sure what else should i try.

This looks to be dual stack related. I was getting the same error on debian 6. Told java to be ipv4 only by exporting _JAVA_OPTIONS="" before running installer. No problem after that.

With a fresh Debian Wheezy install; the loopback device is missing from `ifconfig` for some reason. If you don't see `lo` in the output of `sudo ifconfig` then try `sudo ifconfig lo up` and then run the installer with `env _JAVA_OPTIONS="" ./atlassian-jira-6.3.12-x64.bin`.


Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you