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

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

zulu_nation411 June 10, 2014

I installed stash but can not access the http://localhost:7990page remotely using http://hostname.mycompany.com:7990. 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
Answer accepted
zulu_nation411 June 10, 2014

Found the issue, my JAVA_HOME was not correct.

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 10, 2014

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

zulu_nation411 June 10, 2014

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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 10, 2014

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?

zulu_nation411 June 10, 2014

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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 10, 2014

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
TAGS
AUG Leaders

Atlassian Community Events