Cannot access RockMongo Page

Keywords: MEAN - AWS - Technical issue - Connectivity (SSH/FTP)
bnsupport ID: d730a19b-f624-1d9f-197a-d4773460e439
Description:
I just installed a new MEAN stack yesterday, and I’ve successfully set up an app that receives http posts and logs them in a mongodb collection. I’ve been using putty to connect with the instance over ssh and haven’t had any trouble with that. However, when I set up the ssh port forwarding in order to access RockMongo, even though my putty event log lists Local Port forwarding to localhost:80, when I try to access the RockMongo login page it says 503 service unavailable. I’ve verified that both mongodb and apache are running.

Any suggestions?

Hi @christopheraw,

Thank you for the information. I think you deployed a custom Node.js application of top of MEAN and the Apache’s configuration is not allowing you to access RockMongo. Could you please confirm that you followed this guide to deploy that application?

https://docs.bitnami.com/aws/infrastructure/mean/administration/create-custom-application-nodejs/

If that’s the case, can you share the configuration files you created? We will need the “/home/bitnami/Encounters-Server/conf/httpd-prefix.conf” file and all the other conf files you have in that folder.

Thanks

Hi Jota, thanks for getting back to me.
I have followed that guide, and just for good measure tried restarting apache one more time and still no rockmongo.

My httpd-prefix.conf file contains:

Include "/home/bitnami/Encounters-Server/conf/httpd-app.conf"

My httpd-app.conf file contains:

ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/

My /opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf file containts:

# Bitnami applications installed in a prefix URL
Include "/opt/bitnami/apps/rockmongo/conf/httpd-prefix.conf"
Include "/home/bitnami/Encounters-Server/conf/httpd-prefix.conf"

@jota just realized I didn’t tag you in my reply, not sure if that’s necessary on this forum?

Hi @christopheraw,

No, it’s not needed to tag us to obtain the status of the tickets. If you reply, we have an automated system that notifies us. Thanks anyway :slight_smile:

Please edit the /home/bitnami/Encounters-Server/conf/httpd-app.conf file to not to redirect the requests to /rockmongo to the Node.js application

ProxyPass /rockmongo !
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/

You will need to restart Apache after that.

sudo /opt/bitnami/ctlscript.sh restart apache
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.