could not connect to localhost:8091 for administrating server
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.
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,
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
ok, have you tried reinstalling Couchbase ?
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
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.
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.. :(
This is a strange problem that I haven't seen before. I have filed a bug for you problem here:
This "cannot connect" happened before you uninstalled or after ?
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 :(
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.
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.
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).
Thanks, had the exact problem you're describing and your fix worked for me.
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).