Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

Uninstall MongoDB on Mac OS X

Asked by Akansha Chawla Jun 23, 2021 1.2K views 1 answer
Share

About this question

When I try to run mongod from the terminal, I get the following error:

2014-07-02T23:56:24.797-0700 [initandlisten] ERROR: listen(): bind() failed errno:48 Address already in use for socket: 0.0.0.0:27017 2014-07-02T23:56:24.797-0700 [initandlisten] ERROR: address already in use

I recently realize that I have two versions of MongoDB on my Mac, and think this may be the source for the above error. (Plus, I do not need two versions.) I tried Googling but was not able to find clear directions on how I can uninstall. I have development version 2.7.0 AND 2.6.3.

Thanks so much in advance for the help!

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.