Stash setup on Linux: Can't access http://ip:7990/ from a remote host

I'm doing a Stash 2.3.0 setup for a client and I noticed that I cannot access it through a remote host.

On the local machine, netstat output:

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0       *:7990             *:*                     LISTEN         8940/java

Previously, it listened on tcp6, so I added "-Djava.net.preferIPv4Stack=true" to JVM_REQUIRED_ARGS in setenv.sh. That solved that, but still no joy.

iptables chains are empty, so I don't see why access could be blocked from the outside. Any suggestions are welcome!

I tried also changing the port. Same result.

The same host is running a JIRA setup. No problem with installation there.

One minor detail, the server is actually EC2

10 answers

This widget could not be displayed.

Actually, I'm back after restarting my EC2 instance and both http and https connections are working. Sorry I can't provide any help, this one solved itself.

This widget could not be displayed.

tried it. telnet timed out.

This widget could not be displayed.

rule out the server, try telnet host:7990, if you get a connect, its your client, probably.

This widget could not be displayed.

can you ping the server from the remote client? Is there another service you can check with telnet, eg ssh/http? ie validate connectivity of some kind. Whats the infrastructure between server and client, any proxies or firewalls?

This widget could not be displayed.

I tried changing the port. There's also a JIRA I've installed, currently running. No such problems there.

This widget could not be displayed.

If telnet failed by timeout it is firewall issues. Cos in other case you should get quick error (if listeneing on wrong interface).

This widget could not be displayed.

ok, spin another way, can you telnet to the external IP on the server to the port you expect?

This widget could not be displayed.

it's a firewall. I tried to listen to a port with netcat and see if I could telnet there.

This widget could not be displayed.

I'm having the same issue. In my case I can telnet to the box fine, but when I load in the browser it refuses the connection. This is true for both http and https configurations. I have both default open on AWS. Any help is greatly appreciated. Stash is DOA for me so far.

This widget could not be displayed.

Total newbie here, and I'm having the same issue. Can't access from outside; it's behind a VPN, and pinging the inner IP works, as well as ssh and ftp: I'm assuming I just can't http/https from the outside.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 8 hours ago in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

43 views 0 8
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