Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Connection refused on AWS ubuntu server

Edited

I have downloaded bamboo on an ubuntu aws server and created a bamboo home directory

 

 

If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at https://confluence.atlassian.com/display/BAMBOO/Installing+and+upgrading+Bamboo

Using CATALINA_BASE: /home/cipipeline/atlassian-bamboo-6.10.3
Using CATALINA_HOME: /home/cipipeline/atlassian-bamboo-6.10.3
Using CATALINA_TMPDIR: /home/cipipeline/atlassian-bamboo-6.10.3/temp
Using JRE_HOME: /usr
Using CLASSPATH: /home/cipipeline/atlassian-bamboo-6.10.3/bin/bootstrap.jar:/home/cipipeline/atlassian-bamboo-6.10.3/bin/tomcat-juli.jar
Tomcat started.

 

i have JAVA_HOME after installation 

set the bamboo home directory to an empty bamboo folder 

and ran the start-bamboo.sh command which gave the underlined output above

 

i have port 8085 open. Connection is always refused i even turned off my proxy

1 answer

1 accepted

0 votes
Answer accepted
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 31, 2019

Hi @Abdullah Fasih

I see two possible reasons for a connection refused from what you describe:

  1. The Bamboo server is not up and running. Maybe it crashed during the startup or was not able to bind with the 8085 port.
  2. The port is still closed somehow.

Suggested troubleshooting steps:

  • For number (1):
    • Check if the Bamboo process is still running
    • Check if you can telnet the server using the server terminal or even try to download the Bamboo startup/wizard page with wget.
      This will allow you to know if Bamboo is accepting connections from the server itself.
    • Check the server logs at <Bamboo_Install>/logs/catalina.out to identify if there are any errors regarding the port binding. 

  • For number (2)
    • For this one, you could use nc command (by running a server <-> client connection:
      • On the server-side run:
        ⚠️make sure the Bamboo process is stopped
        nc -l 8085
      • On the client-side run:
        nc bamboo-server-address 8085

        If the connection is established, you should be able to send text strings from one side to another. This should validate the network configuration.

I hope the suggestions above will help us to understand what is causing this issue.

Ah, one last thing, check if you are using JAVA 1.8 in your AWS server.

11 I guess that was the problem for me Thank you

Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 04, 2019

Got it, the Java version was wrong. =]
I'm glad you found the issue.
Have a good one!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events