首页 文章

无法在localhost 8091上的Windows计算机上连接到Couchbase Server

提问于
浏览
0

需要帮助来解决并连接到couchbase服务器 .

我已经安装了couchbase服务器社区版 . 安装后我试图访问端口8091上的服务器 . 但没有运气,浏览器抱怨连接被拒绝 .

技术细节

couchbase-server-community_4.5.1-windows_amd64

Fiddler Tracking

请求

GET http://localhost:8091/ HTTP / 1.1

主持人:localhost:8091

代理连接:保持活着

升级 - 不安全请求:1

User-Agent:Mozilla / 5.0(Windows NT 6.1; Win64; x64)AppleWebKit / 537.36(KHTML,与Gecko一样)Chrome / 59.0.3071.115 Safari / 537.36

接受:text / html,application / xhtml xml,application / xml; q = 0.9,image / webp,image / apng,/; q = 0.8

Accept-Encoding:gzip,deflate,br Accept-Language:en-US,en; q = 0.8

Response

HTTP / 1.1 502 Fiddler - 连接失败

日期:2017年8月4日星期五12:12:51 GMT

内容类型:text / html;字符集= UTF-8

连接:关闭Cache-Control:no-cache,must-revalidate时间戳:17:42:51.523

[Fiddler]与'localhost'的连接失败 .
错误:ConnectionRefused(0x274d) .
System.Net.Sockets.SocketException No connection could be made because the target machine actively refused it [::1]:8091

Control Panel Services status 反映了Couchbase Server的启动 .

enter image description here

Telnet Status
enter image description here

1 回答

  • 0

    问题在于McAfee使用了couchbase服务器的默认端口 .

    Solution

    • 自定义沙发基础安装以使用用户定义的端口 .

    • 使用自定义端口而不是8091 - > 9000更新了etc \ couchbase \ static_config

    • 以及通过couchdb \ default.d \ capi.ini 8092 - > 9001修改的Couch API端口

    • 删除了var \ lib \ couchbase \ config \ config.dat

    • 启动Couchbase服务 .

    Solved

    • http://localhost:9000/现在可以访问 .

    • couchbase日志也证实了同样的情况 .

    • [couchdb:info,2017-08-11T14:24:25.815 05:30,couchdb_ns_1 @ 127.0.0.1:cb_couch_sup <0.95.0>:couch_log:info:41] Apache CouchDB已经开始http://0.0.0.0:9001/

相关问题