serra19 Posted May 20, 2018 Posted May 20, 2018 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!
wolstech Posted May 21, 2018 Posted May 21, 2018 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.
serra19 Posted May 21, 2018 Author Posted May 21, 2018 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!
wolstech Posted May 21, 2018 Posted May 21, 2018 That would be up to Krydos, but once we know the other end can't be reconfigured, we usually are able to open these.
serra19 Posted May 21, 2018 Author Posted May 21, 2018 (edited) mlab rejected my petition to change the DB port, so my last chance is to can open that port... Edited May 21, 2018 by serra19
wolstech Posted May 21, 2018 Posted May 21, 2018 Lets see what Krydos says...moving so he takes a look at this.
serra19 Posted May 21, 2018 Author Posted May 21, 2018 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!
Krydos Posted May 21, 2018 Posted May 21, 2018 TCP port 37748 to the IP 52.51.25.72 on Ricky has been opened for you. Does it work now?
serra19 Posted May 21, 2018 Author Posted May 21, 2018 I've this error: Fatal error: Class 'MongoDB\Driver\Manager' not found in XXX on line 14 Can I use the mongodb php driver on my webpage? or will I need to change it? Thank you for all your support!
wolstech Posted May 23, 2018 Posted May 23, 2018 An experimental Windows server we have that's not available to the public yet.
Recommended Posts