Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6036669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:57:31+00:00 2026-05-23T05:57:31+00:00

Well guys, I’m trying to get that MongoDB feature working for hours: http://www.mongodb.org/display/DOCS/Http+Interface I

  • 0

Well guys, I’m trying to get that MongoDB feature working for hours:

http://www.mongodb.org/display/DOCS/Http+Interface

I start mongod with external configuration file on Mac OS X platform. Almost all the settings in the config file is default. I’ve turned of the authentication and make sure http interface is on :

nohttpinterface = false 

MongoDB starts successfully and does it’s job. And just to make sure that it listens on port 27017, I do following:

(web)Roy-MacBook:/ roy$ curl localhost:27017
You are trying to access MongoDB on the native driver port. For http diagnostic access, add 1000 to the port number

which is fine. And I try to check the same thing for the port 28017:

(web)Roy-MacBook:/ roy$ curl localhost:28017
curl: (7) couldn't connect to host

Even though with telnet:

(web)Roy-MacBook:/ roy$ telnet localhost 28017
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host

I don’t know if I have to tell that I’ve tried with a browser. I don’t run any custom web or any other server that blocks the port 28017. I could only find one bug here:

https://jira.mongodb.org/browse/SERVER-2917

but it is related with –auth command that I don’t use nor I have any user show out of “db.system.users.find()”.

One strange thing is when I turn on mms-name, mms-token or mms-interval in configuration as shown as their config reference here (www.mongodb.org/display/DOCS/File+Based+Configuration), mongod gives following error:

error command line: unknown option mms-name
use --help for help

I though that might be the relative problem.. Any opinion will be appreciated, thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:57:32+00:00Added an answer on May 23, 2026 at 5:57 am

    This looks like a bug in the config parser. Take this line OUT of your config file:

    nohttpinterface = false

    When I added that line it turned the HTTP interface off on my Mac even though it’s set to false.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well this is incredibly frustrating. After being nagged by Rails that I need to
I am trying to write a program in C# that will connect to around
I'm trying to get a list of link titles from a wikipedia page. I
Well the subject is the question basically. Are there any version control systems out
Well, i've got a nice WPF book its called Sams Windows Presentation Foundation Unleashed.
Well behaved windows programs need to allow users to save their work when they
Well, after a long time writing .net programs in C# I started to feel
Well, this is my first post here and really enjoying the site. I have
Well... simple question, right? But with no so simple answers. In firefox i use
Well, it seems simple enough, but I can't find a way to add a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.