I have tried to follow the guide provided on how to setup bitbucket as a windows service. I can run it locally after the setup however it cannot be accessed from outside.
Therefore, after the initial setup, i continued following this guide https://confluence.atlassian.com/bitbucketserver/running-bitbucket-server-as-a-windows-service-776640048.html. I have set the requested environment variables and tried installing the bat file, but with the following output as a result.
C:\Atlassian\Bitbucket\5.6.1\bin>service.bat install
Installing the 'AtlassianBitbucket' service ...
Using BITBUCKET_HOME: "C:\Atlassian\ApplicationData\Bitbucket"
Using INST_DIR: "C:\Atlassian\Bitbucket\5.6.1"
Using EXECUTABLE: "C:\Atlassian\Bitbucket\5.6.1\bin\bserv64.exe"
Using JRE_HOME: "C:\Progra~1\Java\jre-9.0.1"
Using JVM: "C:\Progra~1\Java\jre-9.0.1\bin\server\jvm.dll"
Failed installing 'AtlassianBitbucket' service
This does not match the example given in the guide, so i guess the program has been updated since then.