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
Accepted answer
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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,304 views 12 19
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