我是Mobile Android上的couchbaselite数据库的全新功能。我在与服务器有关的问题。我从https://developer.couchbase.com/documentation/mobile/current/training/develop/adding-synchronization/index.html无法在127.0.0.1:4985上启动http服务器
在这里,我已经做了一切正确像CD C下载的项目:\程序文件(x86)\ Couchbase \ sync_gateway.exe同步网关config.json这里的错误来了,如:
FATAL: Failed to start HTTP server on 127.0.0.1:4985: listen tcp
127.0.0.1:4985: bind: Only one usage of each socket address (protocol/network address/port)
is normally permitted. -- rest.(*ServerConfig).Serve() at config.go:705
而且在我的Android工作室:
http://localhost:4984/sync_gateway/_local/d7b1dc31d5dc922ea4253245dcf077660540331d
通过点击这个链接我得到{ “错误” 上: “NOT_FOUND”,”理由 “:” 失踪 “}
并以此http://localhost:4984/sync_gateway我得到
{” committed_update_seq “:3,” compact_running “:假的,” DB_NAME “:” sync_gateway”, “disk_format_version”:0 “instance_start_time”:1492768709992675, “purge_seq”:0, “状态”: “在线”, “update_seq”:3}
我想移动之间添加同步和couchdatabase
预先感谢您。