Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1623

Comment on: "ecosystem/tutorial/getting-started-with-cpp-driver.txt"

      Hi,

      I successfully compiled and linked the C++ tutorial. But when I try to run it, it throws an exception (c.connect("localhost"). The following is the output.

      Wed Jun 19 09:57:05.688 ERROR: connect invalid socket errno:0 The operation completed successfully.
      caught can't connect couldn't connect to server localhost:27017

      The db server on my local machine was already running and I tested it through command line (mongo.exe) prior to testing the c++ tutorial.
      I will appreciate your help on this.

      Thnaks,
      Anand

            Assignee:
            Unassigned Unassigned
            Reporter:
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 47 weeks, 6 days ago