Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-37857

I got this error while MongoDB connecting to web browser "it looks like you are trying to access MongoDB over HTTP on the native driver port."

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: HTTP Console
    • None
    • ALL

      Below is the error which I got while connecting Mnogo DB to web browser.

       

      2018-11-01T11:12:10.237+0530 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
      2018-11-01T11:12:10.741+0530 I CONTROL [initandlisten] MongoDB starting : pid=12368 port=27017 dbpath=C:\data\db\ 64-bit host=DESKTOP-O94NMIO
      2018-11-01T11:12:10.741+0530 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
      2018-11-01T11:12:10.741+0530 I CONTROL [initandlisten] db version v4.0.2
      2018-11-01T11:12:10.741+0530 I CONTROL [initandlisten] git version: fc1573ba18aee42f97a3bb13b67af7d837826b47
      2018-11-01T11:12:10.741+0530 I CONTROL [initandlisten] allocator: tcmalloc
      2018-11-01T11:12:10.741+0530 I CONTROL [initandlisten] modules: enterprise
      2018-11-01T11:12:10.741+0530 I CONTROL [initandlisten] build environment:
      2018-11-01T11:12:10.741+0530 I CONTROL [initandlisten] distmod: windows-64
      2018-11-01T11:12:10.741+0530 I CONTROL [initandlisten] distarch: x86_64
      2018-11-01T11:12:10.742+0530 I CONTROL [initandlisten] target_arch: x86_64
      2018-11-01T11:12:10.742+0530 I CONTROL [initandlisten] options: {}
      2018-11-01T11:12:10.744+0530 I STORAGE [initandlisten] Detected data files in C:\data\db\ created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2018-11-01T11:12:10.744+0530 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3515M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
      2018-11-01T11:12:10.999+0530 I STORAGE [initandlisten] WiredTiger message [1541050930:999053][12368:140724683619408], txn-recover: Main recovery loop: starting at 30/5760
      2018-11-01T11:12:11.163+0530 I STORAGE [initandlisten] WiredTiger message [1541050931:162951][12368:140724683619408], txn-recover: Recovering log 30 through 31
      2018-11-01T11:12:11.268+0530 I STORAGE [initandlisten] WiredTiger message [1541050931:268886][12368:140724683619408], txn-recover: Recovering log 31 through 31
      2018-11-01T11:12:11.354+0530 I STORAGE [initandlisten] WiredTiger message [1541050931:353835][12368:140724683619408], txn-recover: Set global recovery timestamp: 0
      2018-11-01T11:12:11.392+0530 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)
      2018-11-01T11:12:11.432+0530 I CONTROL [initandlisten]
      2018-11-01T11:12:11.433+0530 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
      2018-11-01T11:12:11.436+0530 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
      2018-11-01T11:12:11.436+0530 I CONTROL [initandlisten]
      2018-11-01T11:12:11.437+0530 I CONTROL [initandlisten] ** WARNING: This server is bound to localhost.
      2018-11-01T11:12:11.437+0530 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this server.
      2018-11-01T11:12:11.438+0530 I CONTROL [initandlisten] ** Start the server with --bind_ip <address> to specify which IP
      2018-11-01T11:12:11.438+0530 I CONTROL [initandlisten] ** addresses it should serve responses from, or with --bind_ip_all to
      2018-11-01T11:12:11.439+0530 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desired, start the
      2018-11-01T11:12:11.439+0530 I CONTROL [initandlisten] ** server with --bind_ip 127.0.0.1 to disable this warning.
      2018-11-01T11:12:11.440+0530 I CONTROL [initandlisten]
      2018-11-01T11:12:11.675+0530 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory 'C:/data/db/diagnostic.data'
      2018-11-01T11:12:11.678+0530 I NETWORK [initandlisten] waiting for connections on port 27017

        1. Screenshot_1.png
          Screenshot_1.png
          100 kB
        2. Screenshot_4.png
          Screenshot_4.png
          20 kB

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            santhi_lakshmi Santhi Lakshmi Yenumula
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: