Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

Changing default port 8080 to another

11 replies [Last post]
  • Login or register to post comments
Thu, 06/24/2010 - 04:52
bimash
Offline
Joined: 06/24/2010
Groups: None

Hello everybody,

I've just installed Membase Membase Server and got a message that i can manage server through web-interface on 8080 port. But i have yet another service running on this port. How I can change this default port?

Thanks in advance.

-----------------------------
Hey guys, can anybody help me!

Top
Fri, 06/25/2010 - 11:14
sean
Offline
Joined: 03/15/2010
Groups: None

Hi, bimash. Sorry about the delayed response, we've all been at Velocity after getting the beta out.

We intend to have this in the UI for the next beta, but for now you can change it by adding the following to /etc/opt/NorthScale/1.6.0beta1/priv/config:

{rest, [{'_ver', {9999, 0, 0}}, {port, 8080}]}.

replacing 8080 with whatever port you want to use. The '_ver' section will make it override the local config on any other host, so it should propagate through your cluster like a virus.

Top
Wed, 07/28/2010 - 10:58
cwilkes
Offline
Joined: 07/28/2010
Groups: None

Does this work in beta2? I've edited my priv/config, noticed it updated the config file above it but the web interface is still on port 8080

Top
Wed, 07/28/2010 - 11:14
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

cwilkes, I'll double check on this, but just to confirm, you're editing and config file located under the 1.6.0beta2 path, not 1.6.0beta1 path right?

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
Wed, 07/28/2010 - 11:46
cwilkes
Offline
Joined: 07/28/2010
Groups: None

yep, I only have beta2 on there. I originally had the memcached server (1.0.3) installed but have removed both with rpm -e and then just installed beta2.

Top
Wed, 07/28/2010 - 11:57
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

yeah, there were some changes to the config system between beta1 and beta2 (that's beta for you right?). I'm getting the new instructions now...sorry about that.

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
Wed, 07/28/2010 - 16:21
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Unfortunately this is no longer a trivial change and I have filed a bug to make it much easier going forward.

My apologies, and thanks for your patience.

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
Wed, 07/28/2010 - 17:55
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Hi there...while this is being fixed, an intermediate workaround is to run the following curl command:
curl -u Administrator:asdfasdf -i -d port=8080 -d secureServer=0 -d username= -d password= [url]http://host:8080/settings/web[/url]

Replace the first '8080' with the port you'd like to move it to and it will automatically change the whole cluster for you!

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
Wed, 07/28/2010 - 18:46
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Sorry, just to clarify..."Administrator:asdfasdf" is your own username:password. The blank username and password later on in the command are necessary to completely submit the form.

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
Mon, 08/30/2010 - 02:25
Semenych
Offline
Joined: 08/30/2010
Groups: None

Hi!

I am installing fresh membased on box with 8080 port busy. How to change default port for fresh install?

Top
Mon, 08/30/2010 - 11:55
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Semenych, we've been back and forth a bit on this, but you can change port for a fresh install by:
1 - Stop the service
2 - Edit the config file (located at /etc/opt/NorthScale/1.6.0beta3/config for Linux and C:\Program Files (x86)\NorthScale\Server\priv\config for Windows). Put in this line: "{rest, [{port,}]}." (with the period at the end, but without the quotes) and replace '' with your desired port.
3 - Delete the config.dat file (located at /etc/opt/NorthScale/1.6.0beta3/ns_1/config.dat for Linux and C:\Program Files (x86)\NorthScale\Server\config\config.dat for Windows)
4 - Restart the service

You should be good to go!

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
Mon, 08/30/2010 - 12:02
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

FYI, I'm closing this thread as answered. I posted the instructions to a new Membase FAQ in this same forum.

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
  • 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