serra19 Posted May 20, 2018 Share 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! Link to comment Share on other sites More sharing options...
wolstech Posted May 21, 2018 Share 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. Link to comment Share on other sites More sharing options...
serra19 Posted May 21, 2018 Author Share 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! Link to comment Share on other sites More sharing options...
wolstech Posted May 21, 2018 Share 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. Link to comment Share on other sites More sharing options...
serra19 Posted May 21, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
wolstech Posted May 21, 2018 Share Posted May 21, 2018 Lets see what Krydos says...moving so he takes a look at this. Link to comment Share on other sites More sharing options...
serra19 Posted May 21, 2018 Author Share Posted May 21, 2018 Ok! Thank you very much! Link to comment Share on other sites More sharing options...
Krydos Posted May 21, 2018 Share Posted May 21, 2018 What is the IP of the mongodb server? Link to comment Share on other sites More sharing options...
serra19 Posted May 21, 2018 Author Share 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! Link to comment Share on other sites More sharing options...
Krydos Posted May 21, 2018 Share 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? Link to comment Share on other sites More sharing options...
serra19 Posted May 21, 2018 Author Share 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! Link to comment Share on other sites More sharing options...
Krydos Posted May 21, 2018 Share Posted May 21, 2018 The mongodb php module is not available. Link to comment Share on other sites More sharing options...
ziad87 Posted May 21, 2018 Share Posted May 21, 2018 MongoDB...Maybe you can install it on Lily? Link to comment Share on other sites More sharing options...
serra19 Posted May 22, 2018 Author Share Posted May 22, 2018 sorry, but I don't know what is Lily... Link to comment Share on other sites More sharing options...
wolstech Posted May 23, 2018 Share Posted May 23, 2018 An experimental Windows server we have that's not available to the public yet. Link to comment Share on other sites More sharing options...
Recommended Posts