Confluence not opening port 8443
Asked by Karsten Hilgers:

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)<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


Answers:
author: Andris Grinbergs
body: Please check if you don't have firewall or selinux enabled. Check if port 8443 is open by netstat.

comments: author: Andris Grinbergs
body: And check if you uncommented this section: (`<``Connector` `port``=``"8443"...)`


author: Karsten Hilgers
body: 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. :(


author: Nic Brough -Adaptavist-
body: 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?


author: Karsten Hilgers
body: "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 "/op**f**t/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.)


author: Karla Bernal
body: 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 {#toc-hId-1814461753}
===================================================

ERR_CONNECTION_TIMED_OUT


Tags: https