My apology, I guess, I was not clear.
I have 2 servers. 192.168.1.250 and 192.168.1.10
250 is web server and if I host couchbase on the same it works fine as localhost. but when I try to connect to couchbase server on 10. issue occurs. I mean, no error generated but document object returned is null
Below is output from http://192.168.1.10:8091/pools/default
{
"storageTotals": {
"ram": {
"total": 8588992512,
"quotaTotal": 6291456000,
"quotaUsed": 6291456000,
"used": 6104014848,
"usedByData": 77214232,
"quotaUsedPerNode": 3145728000,
"quotaTotalPerNode": 3145728000
},
"hdd": {
"total": 128110813184,
"quotaTotal": 128110813184,
"used": 30106041098,
"usedByData": 13927644,
"free": 97364218020
}
},
"serverGroupsUri": "/pools/default/serverGroups?v=88221562",
"indexMemoryQuota": 256,
"memoryQuota": 3000,
"name": "default",
"alerts": [],
"alertsSilenceURL": "/controller/resetAlerts?token=0&uuid=931c1f728946a7242ba5bac231d9cbfd",
"nodes": [
{
"systemStats": {
"cpu_utilization_rate": 7.04647676161919,
"swap_total": 5032693760,
"swap_used": 3568787456,
"mem_total": 4294496256,
"mem_free": 1414844416
},
"interestingStats": {
"cmd_get": 0,
"couch_docs_actual_disk_size": 13910968,
"couch_docs_data_size": 13787042,
"couch_spatial_data_size": 0,
"couch_spatial_disk_size": 0,
"couch_views_actual_disk_size": 0,
"couch_views_data_size": 0,
"curr_items": 428,
"curr_items_tot": 428,
"ep_bg_fetched": 0,
"get_hits": 0,
"mem_used": 75634976,
"ops": 0,
"vb_replica_curr_items": 0
},
"uptime": "526244",
"memoryTotal": 4294496256,
"memoryFree": 1414844416,
"mcdMemoryReserved": 3276,
"mcdMemoryAllocated": 3276,
"couchApiBase": "http://192.168.1.10:8092/",
"couchApiBaseHTTPS": "https://192.168.1.10:18092/",
"clusterMembership": "active",
"recoveryType": "none",
"status": "healthy",
"otpNode": "ns_1@192.168.1.10",
"thisNode": true,
"hostname": "192.168.1.10:8091",
"clusterCompatibility": 262144,
"version": "4.0.0-4051-enterprise",
"os": "windows",
"ports": {
"sslProxy": 11214,
"httpsMgmt": 18091,
"httpsCAPI": 18092,
"proxy": 11211,
"direct": 11210
},
"services": [
"index",
"kv",
"n1ql"
]
},
{
"systemStats": {
"cpu_utilization_rate": 8.468734613490891,
"swap_total": 5032693760,
"swap_used": 3566477312,
"mem_total": 4294496256,
"mem_free": 1147453440
},
"interestingStats": {
"cmd_get": 0,
"couch_docs_actual_disk_size": 16676,
"couch_docs_data_size": 0,
"couch_spatial_data_size": 0,
"couch_spatial_disk_size": 0,
"couch_views_actual_disk_size": 0,
"couch_views_data_size": 0,
"curr_items": 0,
"curr_items_tot": 0,
"ep_bg_fetched": 0,
"get_hits": 0,
"mem_used": 1579256,
"ops": 0,
"vb_replica_curr_items": 0
},
"uptime": "2072917",
"memoryTotal": 4294496256,
"memoryFree": 1147453440,
"mcdMemoryReserved": 3276,
"mcdMemoryAllocated": 3276,
"couchApiBase": "http://192.168.1.11:8092/",
"couchApiBaseHTTPS": "https://192.168.1.11:18092/",
"clusterMembership": "active",
"recoveryType": "none",
"status": "healthy",
"otpNode": "ns_1@192.168.1.11",
"hostname": "192.168.1.11:8091",
"clusterCompatibility": 262144,
"version": "4.0.0-4051-enterprise",
"os": "windows",
"ports": {
"sslProxy": 11214,
"httpsMgmt": 18091,
"httpsCAPI": 18092,
"proxy": 11211,
"direct": 11210
},
"services": [
"index",
"kv",
"n1ql"
]
}
],
"buckets": {
"uri": "/pools/default/buckets?v=79202450&uuid=931c1f728946a7242ba5bac231d9cbfd",
"terseBucketsBase": "/pools/default/b/",
"terseStreamingBucketsBase": "/pools/default/bs/"
},
"remoteClusters": {
"uri": "/pools/default/remoteClusters?uuid=931c1f728946a7242ba5bac231d9cbfd",
"validateURI": "/pools/default/remoteClusters?just_validate=1"
},
"controllers": {
"addNode": {
"uri": "/controller/addNodeV2?uuid=931c1f728946a7242ba5bac231d9cbfd"
},
"rebalance": {
"uri": "/controller/rebalance?uuid=931c1f728946a7242ba5bac231d9cbfd"
},
"failOver": {
"uri": "/controller/failOver?uuid=931c1f728946a7242ba5bac231d9cbfd"
},
"startGracefulFailover": {
"uri": "/controller/startGracefulFailover?uuid=931c1f728946a7242ba5bac231d9cbfd"
},
"reAddNode": {
"uri": "/controller/reAddNode?uuid=931c1f728946a7242ba5bac231d9cbfd"
},
"reFailOver": {
"uri": "/controller/reFailOver?uuid=931c1f728946a7242ba5bac231d9cbfd"
},
"ejectNode": {
"uri": "/controller/ejectNode?uuid=931c1f728946a7242ba5bac231d9cbfd"
},
"setRecoveryType": {
"uri": "/controller/setRecoveryType?uuid=931c1f728946a7242ba5bac231d9cbfd"
},
"setAutoCompaction": {
"uri": "/controller/setAutoCompaction?uuid=931c1f728946a7242ba5bac231d9cbfd",
"validateURI": "/controller/setAutoCompaction?just_validate=1"
},
"clusterLogsCollection": {
"startURI": "/controller/startLogsCollection?uuid=931c1f728946a7242ba5bac231d9cbfd",
"cancelURI": "/controller/cancelLogsCollection?uuid=931c1f728946a7242ba5bac231d9cbfd"
},
"replication": {
"createURI": "/controller/createReplication?uuid=931c1f728946a7242ba5bac231d9cbfd",
"validateURI": "/controller/createReplication?just_validate=1"
}
},
"rebalanceStatus": "none",
"rebalanceProgressUri": "/pools/default/rebalanceProgress",
"stopRebalanceUri": "/controller/stopRebalance?uuid=931c1f728946a7242ba5bac231d9cbfd",
"nodeStatusesUri": "/nodeStatuses",
"maxBucketCount": 10,
"autoCompactionSettings": {
"parallelDBAndViewCompaction": false,
"databaseFragmentationThreshold": {
"percentage": 30,
"size": "undefined"
},
"viewFragmentationThreshold": {
"percentage": 30,
"size": "undefined"
},
"indexFragmentationThreshold": {
"percentage": 30
}
},
"tasks": {
"uri": "/pools/default/tasks?v=14082163"
},
"counters": {
"rebalance_fail": 4,
"rebalance_start": 5,
"rebalance_success": 1
},
"indexStatusURI": "/indexStatus?v=22306480"
}