community
cancel
Showing results for 
Search instead for 
Did you mean: 

alteryx server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

Unable to access mongoDB

Atom

Hi All,

 

I am creating an alteryx module in which I need to access the Scheduler files, When I try to connect the BSON files from MongoDB input, I am getting the error of( Error: MongoDB Input (1): Mongo Error (connect) : { msg:"can't connect couldn't connect to server localhost:27018 (127.0.0.1), connection attempt failed" code: 9000 }).

 

I am providing the right credentials, database name and collection name.

mongoDB.JPG

Need your help to connect with files.

Thanks in Advance

Alteryx Certified Partner
Alteryx Certified Partner

@Asheikh,

 

Are you attempting to access the Mongo DB from the server itself or from your desktop designer.  The localhost:27018 is on the server and if you are trying to get there remotely, you won't be able to get there.

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Atom

I am working on the server. But not able to access it. 

One more thing I am not able to find any services related to MongoDB. Do they exist in Alteryx folder only or we need to install MongoDB to access it.

Alteryx
Alteryx

There is not much to go on here, do the credentials work with the Gallery Usage Report? Most commonly when I see this error with a straight new connection, the user is trying to use the admin password. Can you confirm that you arre using the non-admin password as below? The admin password is for admin facility not full access.

 

Non_admin_Mongo.png

Atom

Hi @kaneG ,

 

Thanks for the suggestion, Actually I was using the old password. Now I am using the new one and its running fine. Thanks