BitBucket does not launch when installed in the same Server as Jira

When I try to run the Bitbucket launcher I get following error:

 

Exception in thread "main" BindHttpException[Failed to bind to [7992]]; nested: ChannelException[Failed to bind to: /0:0:0:0:0:0:0:1%lo:7992]; nested: BindException[Address already in use];

Likely root cause: java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:433)

at sun.nio.ch.Net.bind(Net.java:425)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)

at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)

at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)

at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)

at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)

at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Refer to the log for complete error details.

2 answers

1 accepted

1 vote
Gonchik Tsymzhitov Community Champion Oct 05, 2017

Hi! 

1. 

"ChannelException[Failed to bind to: /0:0:0:0:0:0:0:1%lo:7992]; nested: BindException[Address already in use];" 

 

just check which soft used this port. for check you can use like this command: 

netstat -anpt | grep 7992

 

2. review your bitbucket.properties

If you need to change ports just use this doc

https://confluence.atlassian.com/bitbucketserver/bitbucket-server-config-properties-776640155.html

 

 

Cheers, 

Gonchik Tsymzhitov

My system is:
CentOS 7 x64, 9GB RAM, 200GB hard disk.
Jira Software 7.5 x64.
I tried installing Bitbucket 5.4 but unable to make it run while Jira Software is running.

Any advice?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 5 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

17 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you