Can't run Neo4j on Port 80 (Google Cloud Platform, Compute Engine)

I'm trying to get an SSL certificate from Let's Encrypt following these wonderful instructions Getting Certificates for Neo4j with LetsEncrypt.

I need to allow HTTP traffic on port 80, I've tried a lot but no success.

Here's the breakdown:

  • My firewall allows traffic on Port 80

  • I've changed the neo4j.template file BUT whenever I change the value from :7474 I'm no longer able to connect. (Can't connect with HTTPS or HTTP even though HTTPS hasn't been modified).

  • I've even modified the pre-neo4j.sh file but that didn't help either.

  • Using neo4j-enterprise-1-4-1-0-apoc image

Any advice would be greatly appreciated. I'm at a loss.

What exact config did you put in your neo4j.template file?

Thanks for replying, I actually figured out the issue.

I was using Let's Encrypt from my website which had a subdomain, example: sub.mywebsite.com

And Let's Encrypt gave me an error that it couldn't reach mywebsite.com because I didn't have anything at mywebsite.com, only at sub.mywebsite.com.

I just got rid of my subdomain and then Let's Encrypt worked without a problem.

Also, I found this article to be helpful for the following steps: Getting Valid SSL Certificates for Neo4j with Let’s Encrypt

Thanks for replying, I really appreciate it

1 Like