I am having issue in connection with server. I had downloaded the project from https://developer.couchbase.com/documentation/mobile/current/training/develop/adding-synchronization/index.html
Here I had done everything correctly like cd c:\program files (x86)\Couchbase\sync_gateway.exe sync-gateway-config.json here error is coming like:
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
And on my android studio:
http://localhost:4984/sync_gateway/_local/d7b1dc31d5dc922ea4253245dcf077660540331d
by clicking on this link I am getting {"error":"not_found","reason":"missing"}
And by this http://localhost:4984/sync_gateway I am getting
{"committed_update_seq":3,"compact_running":false,"db_name":"sync_gateway","disk_format_version":0,"instance_start_time":1492768709992675,"purge_seq":0,"state":"Online","update_seq":3}
I want to add sync between mobile and couchdatabase.