Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

can port 8091 changed to another port before first time starting up?

2 replies [Last post]
  • Login or register to post comments
Wed, 01/02/2013 - 22:17
lidai
Offline
Joined: 01/02/2013
Groups: None

Hi,

I am trying to install couchbase server installed for the two application server nodes. that application is already running and using port 8091.

so what I want to do is:
install couchbase server on node a, set the port as some other than 8091, and then start the service.
cluster init on node a
install couchbase server on node b, set the port as some other than 8091, and then start the service.
have node b joined the cluster

however, as of what I understand so far, 8091 must be used for the first time up, until the cluster joining happened. but we don't hope our application experience outage.

any suggestions? is there anywhere to specify the port and we can change it to some other one?

thanks
Li

Top
  • Login or register to post comments
Fri, 01/04/2013 - 02:56
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hi Li,

As far as I know it is not possible; but you can do it after the installation using the command line interface (CLI). For example to move from 8091 to 9090 you can use the following command:

 ./couchbase-cli cluster-init -c localhost:8091 -u Administrator -p password --cluster-init-port=9090 

You can find the documentation about CLI here:
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-network-por...

Regards
Tug
@tgrall

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Fri, 01/04/2013 - 08:00
Neo-matrix
Offline
Joined: 10/15/2012
Groups: None

Hi Tug,
Is it not possible to change the port number in source code before installation? Any inputs.

Thanks,
Neo

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker