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

Confluence not listening on port 8090

Dorien McClure June 7, 2018

Whenever I try to start confluence on ubuntu I get a message saying it is started however I cannot navigate to it in the browser by either http://xxx.xxx.xxx.xxx:8090 or http://domain.name:8090. Both times I get connection refused. I have verified this is not a firewall issue and I have further troubleshooted to determine that confluence isnt even listening on 8090. See below

 

To run Confluence in the foreground, start the server with start-confluence.sh -fg
executing using dedicated user: confluence1
If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide

Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
---------------------------------------------------------------------------
Using Java: /opt/atlassian/confluence/jre//bin/java
2018-06-07 21:33:09,934 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] A Context element for ${confluence.context.path}/synchrony-proxy is found in /opt/atlassian/confluence/conf/server.xml. No further action is required
---------------------------------------------------------------------------
Using CATALINA_BASE: /opt/atlassian/confluence
Using CATALINA_HOME: /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME: /opt/atlassian/confluence/jre/
Using CLASSPATH: /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/confluence/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.
redease@Docs:/opt/atlassian/confluence$
redease@Docs:/opt/atlassian/confluence$
redease@Docs:/opt/atlassian/confluence$ sudo lsof -i :8090
redease@Docs:/opt/atlassian/confluence$

 

When I check port 8090 I get nothing in return indicating that nothing is listening on that port. Below I have pasted my server.xml:

<Server port="8000" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Standalone">

<!--
==============================================================================================================
HTTPS - Proxying Confluence via Apache or Nginx over HTTPS

If you're proxying traffic to Confluence over HTTPS, uncomment the connector below and comment out the others.
Make sure you provide the right information for proxyName and proxyPort.

For more information see:
Apache - https://confluence.atlassian.com/x/PTT3MQ
nginx - https://confluence.atlassian.com/x/cNIvMw
==============================================================================================================
-->


<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"
scheme="https" proxyName="hell.naw.you.aint.seeing.this.com" proxyPort="443"/>


<Engine name="Standalone" defaultHost="localhost" debug="0">
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
<Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
<!-- Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
<Manager pathname=""/>
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60"/>
</Context>

<Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0"
reloadable="false" useHttpOnly="true">
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60"/>
</Context>
</Host>
</Engine>
</Service>
</Server> 

Yes while it is running behind a nginx https proxy I have verified that isn't the issue by configuring the proxy to go to google.com as a test. I then set it back to confluence. That also shouldn't stop confluence from listening on 8090.

 

Anyone have any thoughts?

2 answers

1 accepted

2 votes
Answer accepted
edwin
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.
June 7, 2018

Hi @Dorien McClure,

Please take a look at the Confluence logs and verify that the application has actually started up. There might be an issue during startup.

Dorien McClure June 8, 2018

I tired to take a look at the logs and saw there was nothing in the confluence-home directory. I then took a look at catalina.out and saw it was running out of memory on startup. The issue is fixed now, thanks!

edwin
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.
June 9, 2018

For logs to show in the home directory, you'll have to configure them in log4j.properties

Working with Confluence Logs

An example: Uncomment confluencelog and add to log4j.rootLogger

log4j.rootLogger=WARN, consolelog, errorlog, testAppender, cloudAppender, errorMessageRecorder, confluencelog

log4j.appender.confluencelog=com.atlassian.confluence.logging.ConfluenceHomeLogAppender
log4j.appender.confluencelog.File=/var/atlassian/application-data/confluence/logs/atlassian-confluence.log
log4j.appender.confluencelog.Threshold=DEBUG
log4j.appender.confluencelog.MaxFileSize=20480KB
log4j.appender.confluencelog.MaxBackupIndex=5
log4j.appender.confluencelog.layout=com.atlassian.confluence.util.PatternLayoutWithContext
log4j.appender.confluencelog.layout.ConversionPattern=%d %p [%t] [%c{4}] %M %m%n  
0 votes
TV Clipz August 13, 2018

How did you reolve this issue I'm having the same problem .can't connect to my IP:8090

I have CSF installed and keep getting email of exceesive use and more emails. 

Thanks

 

Spiro

Dorien McClure August 13, 2018

Hi Spiro,

 

In the end I found out it was due to it running out of RAM on startup. If you can try and allocate more to it and see if that solves your issue.

 

Regards,

Dorien

TV Clipz August 13, 2018

Thanks Dorien,

 

Sorry for my dumb question .but where can I alocate more ram in what file ? I have 32 ram in my server now .just not sure how or where to allocate this ram ?

 

Thanks k you so much. 

 

Spiro 

Dorien McClure August 13, 2018

For me the issue was I was running it in a VM that only had 1 GB of RAM. If you are running it in a VM as well then I would allocate more there. Otherwise if it is running bare metal on a server with 32 GB of RAM that is more than enough and ram likely isn't the issue.

 

I strongly suggest checking out /opt/atlassian/confluence/logs/catalina.out to see if the java application is crashing. That will show you why.

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.
August 13, 2018

Look at the -Xmx setting in the environment your Confluence is running in.  It is usually set in the setenv file under <confluence home>/bin  (setenv.bat for windows systems, setenv.sh for non-windows)

TV Clipz August 14, 2018

Thanks for all the help stupid me i have csf installed and never added the port 8090 to csf so it was not allowing me to login

 

sorry and thanks for the help

 

Regards,

 

Spiro

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events