can reach jira, can't find confluence

I have jira & confluence installed on 1 server. To reach jira i type IPADDRESS:8080 and logged in on the server (localhost) is it localhost:8090 for Confluence.

But IPADDRESS:8090 does not give me Confluence from the outside

How do i reach confluence from the outside?

thnx

5 answers

1 accepted

I'm stuck with the same problem; I've got a fresh installation of Confluence 4.2.13 on a fresh installation of Ubuntu Server, and while I can access other web applications remotely (e.g. phpPgAdmin), I cannot access Confluence from a remote PC. I can only access Confluence if I log on to the server itself and connect either to http://localhost:8090/ or http://<ip-address>:8090/ or http://<host-name>:8090/.

I tried editing /opt/atlassian/confluence/conf/server.xml and setting Engine's defaultHost and Host's name to the server's registered DNS name, but to no avail.

Edit: if I try connecting in Fiddler, it reports the following:

HTTP/1.1 502 Fiddler - Connection Failed
Content-Type: text/html; charset=UTF-8
Connection: close
Timestamp: 10:33:37.899

[Fiddler] The socket connection to &lt;host-name&gt; failed. &lt;br /&gt;ErrorCode: 10060. &lt;br /&gt;A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond &lt;ip-address&gt;:8090

Edit 2: one more data point - while phpPgAdmin and Zentyal both work OK (and both use Apache), I get the same error when connecting to Agenti, which uses lighttpd. This suggests that the problem then is not specifically with Confluence and Tomcat, but some system setting that Apache is overriding to serve up its content, but that Tomcat and lighttpd are not.

It definitely does look like a Firewall issue. I'd check iptables and other permission around what the Confluence user that runs Tomcat can do. If you can access it locally it means Confluence is working as expected.

It looks like you're right; there was something weird going on with my iptables configuration - see http://serverfault.com/questions/424376/cannot-access-tomcat-application-remotely-but-can-access-apache-applications for how I fixed it.

0 vote
Thomas Schlegel Community Champion Apr 04, 2012

Hi Maarten,

what is your host name ? You can see this in <confluence-installation-directory>/conf/server.xml

Best regards

Thomas

It says defaultHost="localhost", connector port 8090.

0 vote
Thomas Schlegel Community Champion Apr 04, 2012

Hi Maarten,

there should be an entry like

<Host name="123.456.789.10" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false"> (with your IP-Address of course)

Perhaps these pages will also help you:

http://forums.atlassian.com/thread.jspa?threadID=35000

http://confluence.atlassian.com/plugins/viewsource/viewpagesrc.action?pageId=233145595

Good Luck

Thomas

Yes, i have exactly his entry, and edited it with the IP-address of the server. No luck though. It still works on the local server, but not anymore with 'localhost' but with the IP. So the change did take place.

Hi Maarten,

Is your server behind a firewall? Could that be blocking traffic to your server on port 8090?

Andrew.

Sorry for kicking the old topic, but the issue is still open. I just rebooted the server and opened the port 8090 in the firewall. The rule looks the same as the one for Jira, but still no luck..

How can i debug this more?

Is the same user used to run JIRA/Confluence? It definitely is a network/firewall issue if you can access it locally. Also check if the port is already in use by another application and if there's anything in the logs.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,005 views 23 13
Join discussion

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