# Bitnami - Dreamfactory - MongoDB - Connection Refused

**URL:** <https://community.dreamfactory.com/t/bitnami-dreamfactory-mongodb-connection-refused/1062>\
**Category:** Bitnami Installers\
**Created:** [May 2, 2015, 7:08pm UTC](https://community.dreamfactory.com/t/bitnami-dreamfactory-mongodb-connection-refused/1062 "2015-05-02T19:08:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JaminQuimby](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@JaminQuimby](https://community.dreamfactory.com/u/JaminQuimby)\
**Post date:** [May 2, 2015, 7:08pm UTC](https://community.dreamfactory.com/t/bitnami-dreamfactory-mongodb-connection-refused/1062/1 "2015-05-02T19:08:17Z")

</div>

I can connect to MongoDB from the outside and with admin tools.  
I am using the same connection string that I use with my admin tools however when I try and connect with Dreamfactory I get the “message”: “Failed to launch service ;: Unexpected MongoDb Service Exception:\nFailed to connect to: myservername:27017: Connection refused”,  
“code”: 500

---

<div class="post-metadata">

**Author:** ![JaminQuimby](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@JaminQuimby](https://community.dreamfactory.com/u/JaminQuimby)\
**Post date:** [May 2, 2015, 9:39pm UTC](https://community.dreamfactory.com/t/bitnami-dreamfactory-mongodb-connection-refused/1062/2 "2015-05-02T21:39:32Z")

</div>

**Deleted and redeployed the Bitnami image and now it works.**  
Admin please remove this thread.

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [May 4, 2015, 1:18pm UTC](https://community.dreamfactory.com/t/bitnami-dreamfactory-mongodb-connection-refused/1062/3 "2015-05-04T13:18:49Z")

</div>

Closed on May 4, 2015, 1:18pm UTC


