running bamboo in vmware windows guest: unable to connect to http://localhost:8085
Asked by Mattijs de Groot:

Hi,

I just installed bamboo on a Windows 8.1 guest OS running in vmware fusion on my mac. After following the installation guide I execute:
> C:\\Program Files\\Bamboo\>bin\\start-bamboo.bat

The output is only:
> To run Bamboo in the foreground, start the server with start-bamboo.bat /fg
>
> Bamboo Server Edition Version : 5.9.0

No logs are created and I cannot connect to localhost:8085

If don't think that Bamboo is properly running.

Does anybody know what can be wrong?


Answers:
author: Darshan Kadia
body: Actually Bamboo can not find your JAVA_HOME path so please make it correct.  
and then try


author: Mattijs de Groot
body: Thanks for the tip, but that is not the issue here because that JRE_HOME is  
used only on my osx host OS an as I said that works as expected. It is the  
Bamboo on the Windows guest OS that does not start properly.  

Hope this can be fixed.  

Mattijs

comments: author: rsperafico
body: Please, raise a "Support Request" under "Bamboo Administration \>\> System \>\> Atlassian Support Tools" and comment on this "[https://answers.atlassian.com/questions/17441071/running-bamboo-in-vmware-windows-guest-unable-to-connect-to-httplocalhost8085-"](https://answers.atlassian.com/questions/17441071/running-bamboo-in-vmware-windows-guest-unable-to-connect-to-httplocalhost8085-&quot); so we can follow it up.


author: Mattijs de Groot
body: Sorry, I don't understand. Where do I find Bamboo Administration \>\> System \>\> Atlassian Support Tools? You don't mean in the Bamboo server that is not running?


author: Mattijs de Groot
body: Solved it! Sorry for the confusion. My JAVA_HOME environment variable was pointing to C:\\Progra\~1\\Java\\jdk1.8.0_45\\bin instead of C:\\Progra\~1\\Java\\jdk1.8.0_45


author: Mattijs de Groot
body: Hi Rafael,

Thanks for your response.

* *"ping localhost"* responds correctly with *"Reply from ::1: time\<1ms"*
* *"telnet localhost 8085"* yields:*"*Connecting To localhost...Could not open connection to the host, on port 8085: Connect failed*"*
* as I wrote in my question the "*\<bamboo-install\>/logs* " directory is completely empty. There are no logs generated at all. That's why I suspect somehow the *"start-baboo.bat"* does not fully start the bamboo server. When I install Bamboo on my OSX host and run *"start-bamboo.sh"* the output is much more verbose:  
  *"*

  *To run Bamboo in the foreground, start the server with start-bamboo.sh -fg*

  *Server startup logs are located in /Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1/logs/catalina.out*

  *Bamboo Standalone Edition*

  *Version : 5.8.1*

  *Detecting JVM PermGen support...*

  *PermGen switch is supported. Setting to 256m*

  *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: /Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1*

  *Using CATALINA_HOME: /Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1*

  *Using CATALINA_TMPDIR: /Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1/temp*

  *Using JRE_HOME: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home*

  *Using CLASSPATH: /Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1/bin/bootstrap.[jar:/Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1/bin/tomcat-juli.jar](http://jar/Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1/bin/tomcat-juli.jar)"*

  On the mac the following logs are created on startup:
  * *access_log.2015-06-13*

  * *host-manager.2015-06-13.log*

  * *catalina.2015-06-13.log*

  * *localhost.2015-06-13.log*

  * *catalina.out manager.2015-06-13.log*

* Here's an exerpt from *"netstat -ab":* *Active Connections*

  *Proto Local Address Foreign Address State
  TCP 0.0.0.0:135 XXX-XXXXXXXXXX:0 LISTENING
  RpcSs
  \[svchost.exe\]
  TCP 0.0.0.0:445 XXX-XXXXXXXXXX:0 LISTENING
  Can not obtain ownership information
  TCP 0.0.0.0:554* *XXX-XXXXXXXXXX* *:0 LISTENING
  \[wmpnetwk.exe\]*

  *.....*

  *TCP 127.0.0.1:5939 XXX-XXXXXXXXXX:0 LISTENING
  \[TeamViewer_Service.exe\]
  TCP 127.0.0.1:5939 XXX-XXXXXXXXXX:49259 ESTABLISHED
  \[TeamViewer_Service.exe\]
  TCP 127.0.0.1:49156* *XXX-XXXXXXXXXX* *:49157 ESTABLISHED*

  *"*

  But there is no localhost:8085.

Hope this information helps to track down the problem.

Thanks in advance,

Mattijs

comments: author: rsperafico
body: Hello Mattijs,Please, upgrade Java as "Using JRE_HOME: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" is no longer supported by Bamboo v5.8.1 according to our documentation.<https://confluence.atlassian.com/display/BAMBOO/Supported+platforms>---Kind regards,Rafael P. SperaficoAtlassian Support


author: rsperafico
body: Hello Mattijs,

Thank you for your question.

* does "*ping localhost*" gets resolved?
* are you able to "*telnet localhost 8085*" successfully?
* are there any errors being thrown in "*\<bamboo-install\>/logs*"?
* is there any firewall in place? Please, run "*netstat -ab*" and make sure port number 8085 is listening

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support