can reach jira, can't find confluence

Blommetje April 4, 2012

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

1 vote
Answer accepted
David Keaveny September 4, 2012

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.

Harry Chan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 4, 2012

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.

David Keaveny September 4, 2012

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 votes
Andrew Frayling
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2012

Hi Maarten,

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

Andrew.

Blommetje August 13, 2012

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?

Harry Chan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 4, 2012

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.

0 votes
Thomas Schlegel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 4, 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

Blommetje April 4, 2012

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.

0 votes
Blommetje April 4, 2012

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

0 votes
Thomas Schlegel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 4, 2012

Hi Maarten,

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

Best regards

Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events