Jump to content

[Solved] mongodb connection


serra19

Recommended Posts

Hi there, I'm porting my webpage that use mongodb, but i think it can't connect to the server.

 

Could it be related that the port isn't the default one?

 

I can not change it, so I think that I would need you to open it for me.
 

If you could do it, the port is: 37748.

 

 

Thank You very much!

Link to comment
Share on other sites

We don't support mongodb. We only offer MySQL and Postgres.

 

If you're running the mongo server externally, our firewall will prevent the connection unless it's been explicitly requested that the port opened. Please note that we generally try to avoid opening ports, so changing the database server's port is the preferred solution as opposed to us changing our firewall configuration.

Link to comment
Share on other sites

Ok, I've sended a mail to the support of my mongodb server requesting to change the port to the default one. Will this solve the problem?

 

If they say that's impossible to change my db port, could you open the port of my db?

 

Thank you!

Link to comment
Share on other sites

I don't know the IP, but the host is: ds237748.mlab.com

 

I connect to my db using the mongo shell with this line:

mongo ds237748.mlab.com:37748/<db> -u <dbuser> -p <dbpassword>

 

 

Thank you for your help!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...