[SERVER-23744] mongos.exe not listen port 27017 Created: 15/Apr/16  Updated: 18/Apr/16  Resolved: 18/Apr/16

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.2.5
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: rain Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

win32/mongodb-win32-x86_64-2008plus-3.2.5.zip 2016-04-13 16:18:45
tested by windows2008R2SP1 and Windows7SP1

Participants:

 Description   

`2016-04-15T14:38:41.095+0800 I SHARDING [mongosMain] MongoS version 3.2.5 starting: pid=6248 port=27017 64-bit host=rain-PC (--help for usage)
2016-04-15T14:38:41.095+0800 I CONTROL [mongosMain] db version v3.2.5
2016-04-15T14:38:41.095+0800 I CONTROL [mongosMain] git version: 34e65e5383f7ea1726332cb175b73077ec4a1b02`
but port 27017 not open...



 Comments   
Comment by Kelsey Schubert [ 18/Apr/16 ]

Hi rain,

Thank you for the update, I'm glad you were able to resolve the issue.

Kind regards,
Thomas

Comment by rain [ 18/Apr/16 ]

thank Thomas Schubert !
Problem solved, I found the reason.
Config cluster has not been properly initialized,Mongos starts cannot find the config service available.
But mongos log description are accurate enough,I didn't understand.
I am sorry!
Thank you again!

Comment by Kelsey Schubert [ 15/Apr/16 ]

Hi rain,

To get a better understanding of what is going on, can you please answer the following questions:

  1. Is this machine running any other processes that may be using port 27017? Are you running any other mongod processes on this machine? If so, which ports are they using?
  2. Can you please post the output after attempting to connect to the mongos with the mongo shell from the same machine?
  3. Can you provide the complete logs for the affected mongos?

Thank you,
Thomas

Generated at Thu Feb 08 04:04:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.