Friday, 4 June 2021

Mongo shell: Connect to MongoDB server running on specific port

Using –port option, you can connect to MongoDB server running on specific port.

 

Example

mongo --port 8888

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment