Confluence not opening port 8443

I just tried setting up HTTPS for my Confluence but it didn't work at all. After restarting the Confluence service "nmap -sT -O localhost" just shows me port 8090 but not 8443. I followed the instructions on https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS. Regular

What do I have to do to open port 8443 on localhost?

THX BKS

2 answers

1 accepted

This widget could not be displayed.

Please check if you don't have firewall or selinux enabled. Check if port 8443 is open by netstat.

And check if you uncommented this section: (<Connector port="8443"...)

The connector is uncommented as it should be and I restarted the confluence service properly after editing the server.xml file. Here are the contents of my server.xml file ([PASSWORD] acts as a placeholder, on my server I entered the correct password).

&lt;Connector port="8443" maxHttpHeaderSize="8192"
           maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
           enableLookups="false" disableUploadTimeout="true"
           acceptCount="100" scheme="https" secure="true"
           clientAuth="false" sslProtocol="TLS" SSLEnabled="true"
           URIEncoding="UTF-8" keystorePass="[PASSWORD]"
           keystoreFile="/home/confluence1/.keystore"/&gt;

SElinux is set to SELINUX=enforcing and SELINUXTYPE=targeted. Is this correct?

"netstat -anp | grep 8443" gives me nothing. :(

The netstat is telling you there's nothing listening on that port. Your connector config looks ok, so the logical conclusion is that Confluence isn't started.

What do the Confluence application and the catalina.out logs say?

"so the logical conclusion is that Confluence isn't started."

Nope, my Confluence is running properly. There is a process running and I can access my Confluence via browser - so it's there! ;) But only on port 8090.

I found the problem: I have to mention that I reinstalled Confluence porting it from the embedded database to a PostgreSQL database. There are two installation paths, one "/var/atlassian/application-data/confluence/" and another to "/var/atlassian/application-data/confluence_postgresql/". My Confluence is using the PostgreSQL Database (I checked it at the Confluence system information page) so it uses the postgresql-path as installation path.

BUT I had a little typo during the installation and I assumed my Confluence configruation path as "/opt/atlassian/confluence" but it is named "/opft/atlassian/confluence_postgresql". Now after editing the correct server.xml nmap shows me that there is something listening on 8443. :)

Thanks for your help and sorry for causing any inconvenience or confusion! (However, I cannot access my Confluence via browser on port 8443 but I assume that there is some work to do with the firewall.)

This widget could not be displayed.

Hi!

I have the same problem, the 443 port is open in my amazon vm but nothing, my JIRA is not loading!

 

This webpage is not available

 

 

ERR_CONNECTION_TIMED_OUT

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

505 views 7 6
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