[SERVER-9918] How can I change the port of my config servers, if they are already running... Created: 12/Jun/13  Updated: 10/Dec/14  Resolved: 13/Jun/13

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

Type: Question Priority: Major - P3
Reporter: Joao Pinto Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

STAGE


Participants:

 Description   

Hi,

I started my config servers with the 28017 port and I 'll would like to change them to 27017.
How can I change the port of a config server, if he is already running...

Can I simply kill the config servers processes (kill -9 xxxx), and start a new config server instances with different ports but with the same db-path?

Thanks,
JP



 Comments   
Comment by Joao Pinto [ 12/Sep/13 ]

This ticket is OLD and you can close it.

Comment by Eliot Horowitz (Inactive) [ 13/Jun/13 ]

Changing the port is basically the same process as changing the host name:
http://docs.mongodb.org/manual/tutorial/migrate-config-servers-with-different-hostnames/

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