Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Single Server 1.x

Running on port 80

2 replies [Last post]
  • Login or register to post comments
Sun, 12/04/2011 - 16:55
kidrecursive
Offline
Joined: 11/02/2011
Groups: None

Hello, I've tried changing the appropriate .ini files but I still cannot get my Couchbase to listen on port 80 in Ubuntu. Other ports work fine. Is it possible for Couchbase single to use port 80?

Top
  • Login or register to post comments
Tue, 12/06/2011 - 01:06
charlie
Offline
Joined: 06/01/2011
Groups: None

sure,
port 80 is a so-called 'privileged port' meaning only root (and processes owned by root) have access to it.
So if couchdb is run as root, it will work.
Unless... there already is a process (apache) running on port 80. You could get rid of apache if you don't use it or configure apache to be a (reverse) proxy to the couch.
Furthermore, I personally don't think this is a big issue, but you may want to keep the number of root processes low for security reasons.

Top
  • Login or register to post comments
Sat, 12/17/2011 - 18:08
dadicool
Offline
Joined: 08/09/2011
Groups: None

in case you need it, the setting to run couchbase as root is in /opt/couchbase/etc/default/couchdb , just COUCHDB_USER to root and restart.

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