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

could not connect to localhost:8091 for administrating server

14 replies [Last post]
  • Login or register to post comments
Wed, 06/13/2012 - 01:30
osqureshi
Offline
Joined: 06/13/2012
Groups: None

hello there,

i recently installed Couchbase Server 1.8 on my laptop after the installation there was no automatic browser for administrating the server, as written on the installation guide.
i manually opened the browser (i checked different browsers like google chrome, firefox, IE) and tried to open the localhost:8091 but every time it gives and error

"Could not connect to localhost:8091"

can anybody tell me how to deal with it... now unfortunately couchbase folder is deleted from my program files and there is no couchbase in control panel/ uninstall program, and now i am unable to install it again...

please tell me the solution as soon as possible.

Best Regards.

Top
  • Login or register to post comments
Wed, 06/13/2012 - 04:33
jarnix
Offline
Joined: 05/22/2012
Groups: None

Are you using Windows or Linux ?

You should try to see which ports are used on your computer, for example in Linux :
netstat -alnt

and on Windows :
netstat -an -p tcp

Maybe something else is using the tcp port 8091 and Couchbase cannot start his admin interface (on this port).

Top
  • Login or register to post comments
Wed, 06/13/2012 - 04:57
osqureshi
Offline
Joined: 06/13/2012
Groups: None

thanks a lot for your reply, i am using Windows 7 64 bit. i will check the ports on my system. but what can i do for my other problem..... accidentally i deleted the Couchbase folder from C:\Program Files\Couchbase. now i can't re-install couchbase and i can't see it anywhere on my laptop.. whats the solution for this...?? before deleting the folder, there was no name mentioned in control panel for uninstalling it... so whats the solution for that...??

Best Regards,

Top
  • Login or register to post comments
Wed, 06/13/2012 - 11:02
osqureshi
Offline
Joined: 06/13/2012
Groups: None

im using windows 7 64 bit.

I have checked tcp ports on windows with netstat -an -p tcp
but port 8091 is not there...

I have IIS 7 on my laptop on local host. can it be the reason for Couchbase not working.!!

please guide me

Top
  • Login or register to post comments
Wed, 06/13/2012 - 12:21
jarnix
Offline
Joined: 05/22/2012
Groups: None

ok, have you tried reinstalling Couchbase ?

Top
  • Login or register to post comments
Wed, 06/13/2012 - 12:24
osqureshi
Offline
Joined: 06/13/2012
Groups: None

yes i have tried but it says it cannot be upgraded or changed, remove the previous version, but i can't find anything related to Couchbase in Control panel and "Add/Remove Program" option

Top
  • Login or register to post comments
Thu, 06/14/2012 - 00:10
osqureshi
Offline
Joined: 06/13/2012
Groups: None

finally i got the solution..
Couchbase was not installed properly on my system, and the reason was my Antivirus.

i paused the protection from my antivirus and then tried to install the Couchbase, and now its working properly and i am able to open the administrative setup on localhost.

Top
  • Login or register to post comments
Tue, 08/07/2012 - 11:29
osqureshi
Offline
Joined: 06/13/2012
Groups: None

please somebody help me... i am facing same problem again... i had to un-install and re install it. now same problem with localhost:8091
every time it says:
Oops! Google Chrome could not connect to localhost:8091
i have paused my antivirus protection but of no use.. :(

Top
  • Login or register to post comments
Fri, 08/10/2012 - 17:09
mikew
Offline
Joined: 03/14/2011
Groups:

This is a strange problem that I haven't seen before. I have filed a bug for you problem here:

http://www.couchbase.com/issues/browse/MB-6193

Top
  • Login or register to post comments
Fri, 08/10/2012 - 18:06
alkondratenko
alkondratenko's picture
Offline
Joined: 12/01/2010
Groups: None

This "cannot connect" happened before you uninstalled or after ?

Top
  • Login or register to post comments
Fri, 08/10/2012 - 23:43
osqureshi
Offline
Joined: 06/13/2012
Groups: None

this happens every time, i installed the couchbase 1.8.0 but i can't access the localhost:8091. then i uninstalled it and then re installed it, problem remains the same every time :(

Top
  • Login or register to post comments
Thu, 12/20/2012 - 03:26
deepender
Offline
Joined: 12/20/2012
Groups: None

Hi

I am having issue while installing couchbase 2.0 in google chrome "Oops! Google Chrome could not connect to localhost:8089"

I checked ports through netstat -an -p tcp "tcp port 8091 " is not displayed , kindly help.

Top
  • Login or register to post comments
Sun, 12/23/2012 - 15:58
jklmnlkevin
Offline
Joined: 12/23/2012
Groups: None

i had the same problem, and i resolved it. my machine is win7 64bit, couchbase 2.0. after installed, can't open web console. so i run service_unregister.bat, and then run service_register.bat in cmd, then i got some output below,

C:\Program Files\Couchbase\Server>for /F "tokens=1* delims=" %a in ('cmd /q/c "t
ype bin\ipaddr.out"') do set IP_ADDR=%a
C:\Program Files\Couchbase\Server>set IP_ADDR=169.254.113.254
C:\Program Files\Couchbase\Server>set NS_NAME=ns_1@169.254.113.254
C:\Program Files\Couchbase\Server>if not "" == "" set NS_NAME=

look at second line, the ip is so strange. it should be 127.0.0.1, i think. as i have multi-net-connector, so i then there is something not right in service_register.bat.
well, i just modified the bat file, using hard code to set ip_addr=127.0.0.1, and then rerun
service_unregister.bat
service_register.bat
service_start.bat.

then everything is ok.
bingo.

Top
  • Login or register to post comments
Tue, 12/25/2012 - 01:02
jklmnlkevin
Offline
Joined: 12/23/2012
Groups: None

jklmnlkevin wrote:
i had the same problem, and i resolved it. my machine is win7 64bit, couchbase 2.0. after installed, can't open web console. so i run service_unregister.bat, and then run service_register.bat in cmd, then i got some output below,

C:\Program Files\Couchbase\Server>for /F "tokens=1* delims=" %a in ('cmd /q/c "t
ype bin\ipaddr.out"') do set IP_ADDR=%a
C:\Program Files\Couchbase\Server>set IP_ADDR=169.254.113.254
C:\Program Files\Couchbase\Server>set NS_NAME=ns_1@169.254.113.254
C:\Program Files\Couchbase\Server>if not "" == "" set NS_NAME=

look at second line, the ip is so strange. it should be 127.0.0.1, i think. as i have multi-net-connector, so i then there is something not right in service_register.bat.
well, i just modified the bat file, using hard code to set ip_addr=127.0.0.1, and then rerun
service_unregister.bat
service_register.bat
service_start.bat.

then everything is ok.
bingo.

well, yes it is something not perfact in service_register.bat, but set ip_addr=127.0.0.1 is not a good way, neither. if you are just using one single node, it is fine. but if you need cluster, you can't set ip_addr=127.0.0.1 in each node, or you can't put them in the same group because they have the same name(identified by ip).

Top
  • Login or register to post comments
Fri, 02/01/2013 - 08:39
TimS
Offline
Joined: 02/01/2013
Groups: None

Thanks, had the exact problem you're describing and your fix worked for me.

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