How can I make the localhost pages accessible remotely on my linux installation of stash?

I installed stash but can not access the http://localhost:7990page remotely using I opened the ports on the firewall but still no luck, any ideas? I don't have a gui installed on my linux box to access http://localhost:7990

2 answers

1 accepted

0 votes
Accepted answer

Found the issue, my JAVA_HOME was not correct.

1 vote

Start with a look at what you mean by "cannot access". What's the error message?

I can not access the web page. The stash service starts and says I can access it at http://localhost:7990but when I try to access it using the FQDN:7990 the page says that chrome could not connect to the page. I thought maybe it was a firewall setting and open the ports but that did not work. I then looked at the server.xml settings in the stash/conf/server.xml and changed the <Host Name=localhost to use the FQDN instead and still no luck.

Still doesn't really explain "cannot access".

My best guess is that your browser can't reach the name because you've not got it set up in DNS, but without knowing what "cannot access" really means, I can't be sure.

Could you try the simple network debugging tricks - nslookup to check that your computer resolves the name of the server to the right IP address? Telnet to it on port 7990 to see if it's responding at all on that port?

When I say "can not access" I mean the web page will not display. I can SSH to the host using the FQDN so I know DNS is working. When I try to telnet to the host on port 7990 it response with Connection Refused.

My apologies, I didn't think to ask if you were actually running Stash, and how you knew you were. If your Java_home was wrong, then, of course, it wasn't (although I don't know how you got to the "now running on localhost" message)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,896 views 7 10
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