connection Failing to MongoDB on Google Cloud Engine via Mongoose

668 views
Skip to first unread message

Amit Srivastava

unread,
Jul 16, 2015, 5:06:01 PM7/16/15
to google-a...@googlegroups.com
I have a mongodb Primary server on Google Cloud Engine. 


The connection string I use from mongoose is:

ar dbURI = 'mongodb://130.211.150.134:27017/test


Where the IP address of  the external IP of the primary mongodB server


I am trying to connect from my laptop as well to test the application by connecting to the laptop.


The error I receive is:  node_modules/mongoose/node_modules/mongodb/lib/server.js:228

        process.nextTick(function() { throw err; })

                                            ^

Error: connect ETIMEDOUT

    at exports._errnoException (util.js:746:11)

    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)


npm ERR! Darwin 14.3.0



.

Patrice (Cloud Platform Support)

unread,
Jul 17, 2015, 2:08:20 PM7/17/15
to google-a...@googlegroups.com, mra...@gmail.com
Hi Amit,

As I mentioned on the other thread you posted on, I will forward this to the Google compute engine discussion group so you can follow it there.

Cheers!

Will Benish

unread,
Apr 22, 2016, 10:54:53 PM4/22/16
to Google App Engine, mra...@gmail.com
Patrice, can you link to the thread you mention?  I too am having this problem.
-Will

Adam (Cloud Platform Support)

unread,
Apr 23, 2016, 5:56:51 PM4/23/16
to Google App Engine, mra...@gmail.com
Reply all
Reply to author
Forward
0 new messages