Bamboo only listens on localhost
Asked by Barry Tresadern:

We have recently installed the starter edition of Bamboo on a hosted server.

The software is up an running and is reachable at the http://localhost:8085 address on the server itself.

We are trying to organise external connectivity which despite having the relevant dns / port opening on firewalls etc in place is not working.

Upon trying to connect to Bamboo on the server itself using the machines local ip (10.1.100.5 on port 8085) there is no response from the bamboo.

Pinging localhost resolves to the IPv6 local loopback ::1 address.

Is it possible that Bamboo isn't listening to v4 IP addresses somehow?

Any help appreciated.

Thanks


Answers:
author: Barry Tresadern
body: Hi Christian,

netstat -an shows that it is listening on the ::1 address only, it is not listening on 127.0.0.1 or 10.100.1.5. Please see below:

C:\\Users\\bamboo\>netstat -an Active Connections Proto Local Address Foreign Address State TCP 0.0.0.0:80 0.0.0.0:0 LISTENING TCP 0.0.0.0:135 0.0.0.0:0 LISTENING TCP 0.0.0.0:443 0.0.0.0:0 LISTENING TCP 0.0.0.0:445 0.0.0.0:0 LISTENING TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING TCP 0.0.0.0:5986 0.0.0.0:0 LISTENING TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING TCP 0.0.0.0:8085 0.0.0.0:0 LISTENING TCP 0.0.0.0:47001 0.0.0.0:0 LISTENING TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING TCP 0.0.0.0:49155 0.0.0.0:0 LISTENING TCP 0.0.0.0:49156 0.0.0.0:0 LISTENING TCP 0.0.0.0:49203 0.0.0.0:0 LISTENING TCP 0.0.0.0:49205 0.0.0.0:0 LISTENING TCP 0.0.0.0:54663 0.0.0.0:0 LISTENING TCP 0.0.0.0:54664 0.0.0.0:0 LISTENING TCP 0.0.0.0:63071 0.0.0.0:0 LISTENING TCP 10.100.1.5:139 0.0.0.0:0 LISTENING TCP 10.100.1.5:443 52.178.181.247:64594 ESTABLISHED TCP 10.100.1.5:443 171.61.198.86:50585 ESTABLISHED TCP 10.100.1.5:3389 149.255.169.146:36639 ESTABLISHED TCP 10.100.1.5:53311 13.74.208.64:443 ESTABLISHED TCP 10.100.1.5:55407 168.63.129.16:80 ESTABLISHED TCP 10.100.1.5:55423 168.63.129.16:80 ESTABLISHED TCP 10.100.1.5:58808 107.23.25.67:443 CLOSE_WAIT TCP 10.100.1.5:58812 107.23.25.67:443 CLOSE_WAIT TCP 10.100.1.5:58814 107.23.25.67:443 CLOSE_WAIT TCP 10.100.1.5:58815 107.23.25.67:443 CLOSE_WAIT TCP 10.100.1.5:58816 107.23.25.67:443 CLOSE_WAIT TCP 10.100.1.5:58817 107.23.25.67:443 CLOSE_WAIT TCP 10.100.1.5:58818 107.23.25.67:443 CLOSE_WAIT TCP 10.100.1.5:58819 107.23.25.67:443 CLOSE_WAIT TCP 10.100.1.5:61175 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:62734 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:62735 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:62744 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:62745 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:62746 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:62747 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:62748 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:62749 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:62750 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:62952 34.239.16.84:443 CLOSE_WAIT TCP 10.100.1.5:63986 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64114 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64176 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64177 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64178 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64241 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64242 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64243 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64307 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64308 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64309 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64370 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64371 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64372 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64435 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64436 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64437 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64448 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64472 10.100.1.4:1433 TIME_WAIT TCP 10.100.1.5:64484 51.144.85.221:443 ESTABLISHED TCP 10.100.1.5:64487 52.178.181.247:8060 TIME_WAIT TCP 10.100.1.5:64500 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64501 52.178.181.247:8060 ESTABLISHED TCP 10.100.1.5:64502 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64503 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64504 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64505 52.178.181.247:8060 TIME_WAIT TCP 10.100.1.5:64516 10.100.1.4:1433 ESTABLISHED TCP 10.100.1.5:64521 40.101.125.226:995 TIME_WAIT TCP 10.100.1.5:64522 40.101.125.226:995 TIME_WAIT TCP 10.100.1.5:64523 40.101.125.226:995 TIME_WAIT TCP 10.100.1.5:64524 40.101.125.226:995 TIME_WAIT TCP 10.100.1.5:64525 40.101.125.226:995 TIME_WAIT TCP 10.100.1.5:64526 40.101.125.226:995 TIME_WAIT TCP 127.0.0.1:8005 0.0.0.0:0 LISTENING TCP 127.0.0.1:8007 0.0.0.0:0 LISTENING TCP 127.0.0.1:49201 127.0.0.1:49202 ESTABLISHED TCP 127.0.0.1:49202 127.0.0.1:49201 ESTABLISHED TCP 127.0.0.1:49257 127.0.0.1:49258 ESTABLISHED TCP 127.0.0.1:49258 127.0.0.1:49257 ESTABLISHED TCP 127.0.0.1:49259 127.0.0.1:49260 ESTABLISHED TCP 127.0.0.1:49260 127.0.0.1:49259 ESTABLISHED TCP 127.0.0.1:49261 127.0.0.1:49262 ESTABLISHED TCP 127.0.0.1:49262 127.0.0.1:49261 ESTABLISHED TCP 127.0.0.1:49263 127.0.0.1:49264 ESTABLISHED TCP 127.0.0.1:49264 127.0.0.1:49263 ESTABLISHED TCP 127.0.0.1:49265 127.0.0.1:49266 ESTABLISHED TCP 127.0.0.1:49266 127.0.0.1:49265 ESTABLISHED TCP 127.0.0.1:49267 127.0.0.1:49268 ESTABLISHED TCP 127.0.0.1:49268 127.0.0.1:49267 ESTABLISHED TCP 127.0.0.1:49269 127.0.0.1:49270 ESTABLISHED TCP 127.0.0.1:49270 127.0.0.1:49269 ESTABLISHED TCP 127.0.0.1:49271 127.0.0.1:49272 ESTABLISHED TCP 127.0.0.1:49272 127.0.0.1:49271 ESTABLISHED TCP 127.0.0.1:49289 127.0.0.1:49290 ESTABLISHED TCP 127.0.0.1:49290 127.0.0.1:49289 ESTABLISHED TCP 127.0.0.1:49292 127.0.0.1:49293 ESTABLISHED TCP 127.0.0.1:49293 127.0.0.1:49292 ESTABLISHED TCP 127.0.0.1:49294 127.0.0.1:49295 ESTABLISHED TCP 127.0.0.1:49295 127.0.0.1:49294 ESTABLISHED TCP 127.0.0.1:49296 127.0.0.1:49297 ESTABLISHED TCP 127.0.0.1:49297 127.0.0.1:49296 ESTABLISHED TCP 127.0.0.1:49298 127.0.0.1:49299 ESTABLISHED TCP 127.0.0.1:49299 127.0.0.1:49298 ESTABLISHED TCP 127.0.0.1:49300 127.0.0.1:49301 ESTABLISHED TCP 127.0.0.1:49301 127.0.0.1:49300 ESTABLISHED TCP 127.0.0.1:49302 127.0.0.1:49303 ESTABLISHED TCP 127.0.0.1:49303 127.0.0.1:49302 ESTABLISHED TCP 127.0.0.1:49304 127.0.0.1:49305 ESTABLISHED TCP 127.0.0.1:49305 127.0.0.1:49304 ESTABLISHED TCP 127.0.0.1:49306 127.0.0.1:49307 ESTABLISHED TCP 127.0.0.1:49307 127.0.0.1:49306 ESTABLISHED TCP 127.0.0.1:49308 127.0.0.1:49309 ESTABLISHED TCP 127.0.0.1:49309 127.0.0.1:49308 ESTABLISHED TCP 127.0.0.1:49310 127.0.0.1:49311 ESTABLISHED TCP 127.0.0.1:49311 127.0.0.1:49310 ESTABLISHED TCP 127.0.0.1:54665 0.0.0.0:0 LISTENING TCP 127.0.0.1:62680 127.0.0.1:62681 ESTABLISHED TCP 127.0.0.1:62681 127.0.0.1:62680 ESTABLISHED TCP 127.0.0.1:62706 127.0.0.1:62707 ESTABLISHED TCP 127.0.0.1:62707 127.0.0.1:62706 ESTABLISHED TCP 127.0.0.1:62708 127.0.0.1:62709 ESTABLISHED TCP 127.0.0.1:62709 127.0.0.1:62708 ESTABLISHED TCP 127.0.0.1:62710 127.0.0.1:62711 ESTABLISHED TCP 127.0.0.1:62711 127.0.0.1:62710 ESTABLISHED TCP 127.0.0.1:62712 127.0.0.1:62713 ESTABLISHED TCP 127.0.0.1:62713 127.0.0.1:62712 ESTABLISHED TCP 127.0.0.1:62714 127.0.0.1:62715 ESTABLISHED TCP 127.0.0.1:62715 127.0.0.1:62714 ESTABLISHED TCP 127.0.0.1:62716 127.0.0.1:62717 ESTABLISHED TCP 127.0.0.1:62717 127.0.0.1:62716 ESTABLISHED TCP 127.0.0.1:62718 127.0.0.1:62719 ESTABLISHED TCP 127.0.0.1:62719 127.0.0.1:62718 ESTABLISHED TCP 127.0.0.1:62720 127.0.0.1:62721 ESTABLISHED TCP 127.0.0.1:62721 127.0.0.1:62720 ESTABLISHED TCP 127.0.0.1:62722 127.0.0.1:62723 ESTABLISHED TCP 127.0.0.1:62723 127.0.0.1:62722 ESTABLISHED TCP 127.0.0.1:62724 127.0.0.1:62725 ESTABLISHED TCP 127.0.0.1:62725 127.0.0.1:62724 ESTABLISHED TCP 127.0.0.1:62726 127.0.0.1:62727 ESTABLISHED TCP 127.0.0.1:62727 127.0.0.1:62726 ESTABLISHED TCP 127.0.0.1:62732 127.0.0.1:62733 ESTABLISHED TCP 127.0.0.1:62733 127.0.0.1:62732 ESTABLISHED TCP 127.0.0.1:62740 127.0.0.1:62741 ESTABLISHED TCP 127.0.0.1:62741 127.0.0.1:62740 ESTABLISHED TCP 127.0.0.1:62742 127.0.0.1:62743 ESTABLISHED TCP 127.0.0.1:62743 127.0.0.1:62742 ESTABLISHED TCP \[::\]:80 \[::\]:0 LISTENING TCP \[::\]:135 \[::\]:0 LISTENING TCP \[::\]:443 \[::\]:0 LISTENING TCP \[::\]:445 \[::\]:0 LISTENING TCP \[::\]:3389 \[::\]:0 LISTENING TCP \[::\]:5986 \[::\]:0 LISTENING TCP \[::\]:8080 \[::\]:0 LISTENING TCP \[::\]:8085 \[::\]:0 LISTENING TCP \[::\]:47001 \[::\]:0 LISTENING TCP \[::\]:49152 \[::\]:0 LISTENING TCP \[::\]:49153 \[::\]:0 LISTENING TCP \[::\]:49154 \[::\]:0 LISTENING TCP \[::\]:49155 \[::\]:0 LISTENING TCP \[::\]:49156 \[::\]:0 LISTENING TCP \[::\]:49203 \[::\]:0 LISTENING TCP \[::\]:49205 \[::\]:0 LISTENING TCP \[::\]:54663 \[::\]:0 LISTENING TCP \[::\]:54664 \[::\]:0 LISTENING TCP \[::\]:63071 \[::\]:0 LISTENING TCP \[::1\]:8085 \[::1\]:64506 TIME_WAIT TCP \[::1\]:8085 \[::1\]:64507 TIME_WAIT TCP \[::1\]:8085 \[::1\]:64508 TIME_WAIT TCP \[::1\]:8085 \[::1\]:64509 TIME_WAIT TCP \[::1\]:8085 \[::1\]:64517 TIME_WAIT TCP \[::1\]:8085 \[::1\]:64518 TIME_WAIT TCP \[::1\]:8085 \[::1\]:64519 TIME_WAIT TCP \[::1\]:8085 \[::1\]:64520 TIME_WAIT TCP \[::1\]:8085 \[::1\]:64527 ESTABLISHED TCP \[::1\]:8085 \[::1\]:64528 ESTABLISHED TCP \[::1\]:64527 \[::1\]:8085 ESTABLISHED TCP \[::1\]:64528 \[::1\]:8085 ESTABLISHED UDP 0.0.0.0:123 \*:\* UDP 0.0.0.0:500 \*:\* UDP 0.0.0.0:3389 \*:\* UDP 0.0.0.0:4500 \*:\* UDP 0.0.0.0:5355 \*:\* UDP 10.100.1.5:137 \*:\* UDP 10.100.1.5:138 \*:\* UDP 127.0.0.1:50224 \*:\* UDP 127.0.0.1:50537 \*:\* UDP 127.0.0.1:50872 \*:\* UDP 127.0.0.1:54453 \*:\* UDP 127.0.0.1:60002 \*:\* UDP 127.0.0.1:60169 \*:\* UDP 127.0.0.1:60348 \*:\* UDP 127.0.0.1:62350 \*:\* UDP \[::\]:123 \*:\* UDP \[::\]:500 \*:\* UDP \[::\]:3389 \*:\* UDP \[::\]:4500 \*:\* UDP \[::\]:5355 \*:\*

comments: author: Christian Glockner
body: Hi Barry,

From the output I can see that Bamboo is listening on 0.0.0.0:8085, which means port 8085 on all interfaces.

This most likely is caused by some external factor preventing access to that port.

Cheers,

Christian

Premier Support Engineer

Atlassian


author: Christian Glockner
body: Hi Barry,

By default Bamboo listens on all interfaces, most likely there's a firewall in place that prevents connections from outside.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Barry Tresadern
body: Hi Christian,

thanks for the reply.

However, the issue I have is that this installation is not responding locally using the local ip of the machine.

I have already opened 8085 on the windows firewall, in fact I've even turned it off and it still doesn't respond when I use <http://10.1.100.5:8085> in the browser on the server itself.

Any other ideas?


author: Christian Glockner
body: Hi Barry,

I wonder if the IP of the machine is routed externally or internally - I'd run **netstat -an** to see which interfaces Bamboo is listening on. Is there an external firewall perhaps that might be interfering here?

Cheers,

Christian

Premier Support Engineer

Atlassian


Tags: localhost