簡體   English   中英

為什么不能使用java ..使用連接IP連接到運行帶有公共IP的Windows Azure VM,但出現連接超時錯誤?

[英]Why can`t I connect to Windows Azure VM running couchbase with public IP using java .. Getting Connection time out error?

我正在嘗試連接到我的虛擬機,該虛擬機安裝在Azure雲上,並且已經在其上安裝了長沙發,並且需要打開長沙發所需的所有端口。 我能夠ping那些機器。 假設我的機器在Azure上具有ip 1.2.3.4:8091。 該VM具有3個IP地址為192.168.0.4 192.168.0.5 192.168.0.6的節點

當我在java運行時參數中提供此ip以使用org.apache.http jar連接到計算機時,它被轉換為內部專用IP地址,例如:192.168.0.4:8091,但隨后出現連接超時錯誤。 為什么? 在沒有超時的情況下,我無法使用Java連接到遠程服務器嗎? 我是否總是必須在本地將應用程序部署在該群集上?

 Oct 31, 2013 2:25:11 AM com.couchbase.client.CouchbaseProperties setPropertyFile
    FINE: Could not load properties file "cbclient.properties" because: File not found with system classloader.
    Oct 31, 2013 2:25:11 AM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString
    FINE: Attempting to read configuration from URI: http://1.2.3.4:8091/pools
    Oct 31, 2013 2:25:11 AM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString
    FINE: Attempting to read configuration from URI: http://1.2.3.4:8091/pools/default?uuid=29ee39bf4f6daf0de614e85aacf00ac4
    Oct 31, 2013 2:25:11 AM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString
    FINE: Attempting to read configuration from URI: http://1.2.3.4:8091/pools/default/buckets?v=121918534&uuid=29ee39bf4f6daf0de614e85aacf00ac4

在此,我們可以在底部清楚地看到,它連接到存儲桶時會獲取HTTP數據,然后顯示連接超時。

        Oct 31, 2013 2:25:36 AM net.spy.memcached.MemcachedConnection queueReconnect
WARNING: Closing, and reopening {QA sa=192.168.0.4/192.168.0.4:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}, attempt 1.
Oct 31, 2013 2:25:36 AM net.spy.memcached.MemcachedConnection handleIO
FINE: Done dealing with queue.
Oct 31, 2013 2:25:36 AM net.spy.memcached.MemcachedConnection handleIO
FINE: Selecting with delay of 3985ms
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection handleIO
FINE: No selectors ready, interrupted: false
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection attemptReconnects
INFO: Reconnecting {QA sa=192.168.0.6/192.168.0.6:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection handleIO
FINE: Done dealing with queue.
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection handleIO
FINE: Selecting with delay of 1ms
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection handleIO
FINE: No selectors ready, interrupted: false
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection attemptReconnects
INFO: Reconnecting {QA sa=192.168.0.5/192.168.0.5:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection handleIO
FINE: Done dealing with queue.
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection handleIO
FINE: Selecting with delay of 3ms
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection handleIO
FINE: No selectors ready, interrupted: false
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection attemptReconnects
INFO: Reconnecting {QA sa=192.168.0.4/192.168.0.4:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection handleIO
FINE: Done dealing with queue.
Oct 31, 2013 2:25:40 AM net.spy.memcached.MemcachedConnection handleIO
FINE: Selecting with delay of 0ms
30 Seconds:  Load is in progress
Oct 31, 2013 2:25:42 AM com.couchbase.client.ViewConnection createConnections
INFO: Added 192.168.0.6 to connect queue
Oct 31, 2013 2:25:48 AM com.couchbase.client.ViewConnection createConnections
INFO: Added 192.168.0.5 to connect queue
40 Seconds:  Load is in progress
Oct 31, 2013 2:25:52 AM com.couchbase.client.ViewConnection createConnections
INFO: Added 192.168.0.4 to connect queue
Oct 31, 2013 2:25:52 AM com.couchbase.client.CouchbaseClient <init>
INFO: viewmode property isn't defined. Setting viewmode to production mode
Oct 31, 2013 2:25:52 AM com.couchbase.client.vbucket.ConfigurationProviderHTTP subscribe
FINE: Subscribing an object for reconfiguration updates com.couchbase.client.CouchbaseClient
Oct 31, 2013 2:25:52 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream
FINEST: Channel state changed: [id: 0x1fea8fc0] OPEN


Oct 31, 2013 2:25:52 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream
FINER: Channel state change is not a disconnect. Event value is true and Channel State is OPEN.
Oct 31, 2013 2:25:52 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream
FINEST: Channel state changed: [id: 0x1fea8fc0, /192.168.0.10:15658 => /1.2.3.4:8091:8091] BOUND: /192.168.0.10:15658


Oct 31, 2013 2:25:52 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream
FINER: Channel state change is not a disconnect. Event value is /192.168.0.10:15658 and Channel State is BOUND.
Oct 31, 2013 2:25:52 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream
FINEST: Channel state changed: [id: 0x1fea8fc0, /192.168.0.10:15658 => /1.2.3.4:8091:8091] CONNECTED: /1.2.3.4:8091:8091


Oct 31, 2013 2:25:52 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream
FINER: Channel state change is not a disconnect. Event value is /1.2.3.4:8091:8091 and Channel State is CONNECTED.
Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
FINER: STATUS: 200 OK
Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
FINER: VERSION: HTTP/1.1
Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
FINER: HEADER: Cache-Control = no-cache
Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
FINER: HEADER: Content-Type = application/json; charset=utf-8
Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
FINER: HEADER: Date = Thu, 31 Oct 2013 09:25:51 GMT
Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
FINER: HEADER: Pragma = no-cache
Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
FINER: HEADER: Server = Couchbase Server 2.2.0-821-rel-enterprise
Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
FINER: HEADER: Transfer-Encoding = chunked
Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
FINER: 

    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
    FINER: CHUNKED CONTENT {
    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
    FINER: {"name":"users","bucketType":"membase","authType":"sasl","saslPassword":"","proxyPort":0,"replicaIndex":false,"uri":"/pools/default/buckets/users?bucket_uuid=3cfaca6ceb99782a74bbc52df98aaba3","streamingUri":"/pools/default/bucketsStreaming/users?bucket_uuid=3cfaca6ceb99782a74bbc52df98aaba3","localRandomKeyUri":"/pools/default/buckets/users/localRandomKey","controllers":{"flush":"/pools/default/buckets/users/controller/doFlush","compactAll":"/pools/default/buckets/users/controller/compactBucket","compactDB":"/pools/default/buckets/default/controller/compactDatabases","purgeDeletes":"/pools/default/buckets/users/controller/unsafePurgeBucket","startRecovery":"/pools/default/buckets/users/controller/startRecovery"},"nodes":[{"couchApiBase":"http://192.168.0.6:8092/users","replication":1.0,"clusterMembership":"active","status":"healthy","otpNode":"ns_1@192.168.0.6","hostname":"192.168.0.6:8091","clusterCompatibility":131072,"version":"2.2.0-821-rel-enterprise","os":"windows","ports":{"proxy":11211,"direct":11210}},{"couchApiBase":"http://192.168.0.5:8092/users","replication":1.0,"clusterMembership":"active","status":"healthy","otpNode":"ns_1@192.168.0.5","hostname":"192.168.0.5:8091","clusterCompatibility":131072,"version":"2.2.0-821-rel-enterprise","os":"windows","ports":{"proxy":11211,"direct":11210}},{"couchApiBase":"http://192.168.0.4:8092/users","replication":1.0,"clusterMembership":"active","status":"healthy","otpNode":"ns_1@192.168.0.4","thisNode":true,"hostname":"192.168.0.4:8091","clusterCompatibility":131072,"version":"2.2.0-821-rel-enterprise","os":"windows","ports":{"proxy":11211,"direct":11210}}],"stats":{"uri":"/pools/default/buckets/users/stats","directoryURI":"/pools/default/buckets/users/statsDirectory","nodeStatsListURI":"/pools/default/buckets/users/nodes"},"ddocs":{"uri":"/pools/default/buckets/users/ddocs"},"nodeLocator":"vbucket","fastWarmupSettings":false,"autoCompactionSettings":false,"uuid":"3cfaca6ceb99782a74bbc52df98aaba3","vBucketServerMap":{"hashAlgorithm":"CRC","numReplicas":0,"serverList":["192.168.0.4:11210","192.168.0.5:11210","192.168.0.6:11210"],"vBucketMap":[[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1]]},"bucketCapabilitiesVer":"","bucketCapabilities":["touch","couchapi"]}
    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog
    FINER: Chunk length is: 6293
    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.ReconfigurableObserver update
    FINEST: Received an update, notifying reconfigurables about a com.couchbase.client.vbucket.config.Bucketcom.couchbase.client.vbucket.config.Bucket@e723c25e
    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.ReconfigurableObserver update
    FINEST: It says it is users and it's talking to /pools/default/bucketsStreaming/users?bucket_uuid=3cfaca6ceb99782a74bbc52df98aaba3
    Oct 31, 2013 2:25:53 AM com.couchbase.client.CouchbaseConnection reconfigure
    FINE: Node 192.168.0.6/192.168.0.6:11210 will stay in cluster config after reconfiguration.
    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.BucketMonitor logFiner
    FINER: Getting server list returns this last chunked response:
    {"name":"users","bucketType":"membase","authType":"sasl","saslPassword":"","proxyPort":0,"replicaIndex":false,"uri":"/pools/default/buckets/users?bucket_uuid=3cfaca6ceb99782a74bbc52df98aaba3","streamingUri":"/pools/default/bucketsStreaming/users?bucket_uuid=3cfaca6ceb99782a74bbc52df98aaba3","localRandomKeyUri":"/pools/default/buckets/users/localRandomKey","controllers":{"flush":"/pools/default/buckets/users/controller/doFlush","compactAll":"/pools/default/buckets/users/controller/compactBucket","compactDB":"/pools/default/buckets/default/controller/compactDatabases","purgeDeletes":"/pools/default/buckets/users/controller/unsafePurgeBucket","startRecovery":"/pools/default/buckets/users/controller/startRecovery"},"nodes":[{"couchApiBase":"http://192.168.0.6:8092/users","replication":1.0,"clusterMembership":"active","status":"healthy","otpNode":"ns_1@192.168.0.6","hostname":"192.168.0.6:8091","clusterCompatibility":131072,"version":"2.2.0-821-rel-enterprise","os":"windows","ports":{"proxy":11211,"direct":11210}},{"couchApiBase":"http://192.168.0.5:8092/users","replication":1.0,"clusterMembership":"active","status":"healthy","otpNode":"ns_1@192.168.0.5","hostname":"192.168.0.5:8091","clusterCompatibility":131072,"version":"2.2.0-821-rel-enterprise","os":"windows","ports":{"proxy":11211,"direct":11210}},{"couchApiBase":"http://192.168.0.4:8092/users","replication":1.0,"clusterMembership":"active","status":"healthy","otpNode":"ns_1@192.168.0.4","thisNode":true,"hostname":"192.168.0.4:8091","clusterCompatibility":131072,"version":"2.2.0-821-rel-enterprise","os":"windows","ports":{"proxy":11211,"direct":11210}}],"stats":{"uri":"/pools/default/buckets/users/stats","directoryURI":"/pools/default/buckets/users/statsDirectory","nodeStatsListURI":"/pools/default/buckets/users/nodes"},"ddocs":{"uri":"/pools/default/buckets/users/ddocs"},"nodeLocator":"vbucket","fastWarmupSettings":false,"autoCompactionSettings":false,"uuid":"3cfaca6ceb99782a74bbc52df98aaba3","vBucketServerMap":{"hashAlgorithm":"CRC","numReplicas":0,"serverList":["192.168.0.4:11210","192.168.0.5:11210","192.168.0.6:11210"],"vBucketMap":[[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[2],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1]]},"bucketCapabilitiesVer":"","bucketCapabilities":["touch","couchapi"]}
    Oct 31, 2013 2:25:53 AM com.couchbase.client.CouchbaseConnection reconfigure
    FINE: Node 192.168.0.5/192.168.0.5:11210 will stay in cluster config after reconfiguration.
    Oct 31, 2013 2:25:53 AM com.couchbase.client.CouchbaseConnection reconfigure
    FINE: Node 192.168.0.4/192.168.0.4:11210 will stay in cluster config after reconfiguration.
    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.VBucketNodeLocator updateLocator
    FINE: Received updated configuration with insignificant changes.
    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.ReconfigurableObserver update
    FINEST: Received an update, notifying reconfigurables about a com.couchbase.client.vbucket.config.Bucketcom.couchbase.client.vbucket.config.Bucket@f727c0e2
    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.ReconfigurableObserver update
    FINEST: It says it is users and it's talking to /pools/default/bucketsStreaming/users?bucket_uuid=3cfaca6ceb99782a74bbc52df98aaba3
    Oct 31, 2013 2:25:53 AM com.couchbase.client.CouchbaseConnection reconfigure
    FINE: Node 192.168.0.6/192.168.0.6:11210 will stay in cluster config after reconfiguration.
    Oct 31, 2013 2:25:53 AM com.couchbase.client.CouchbaseConnection reconfigure
    FINE: Node 192.168.0.5/192.168.0.5:11210 will stay in cluster config after reconfiguration.
    Oct 31, 2013 2:25:53 AM com.couchbase.client.CouchbaseConnection reconfigure
    FINE: Node 192.168.0.4/192.168.0.4:11210 will stay in cluster config after reconfiguration.
    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.VBucketNodeLocator updateLocator
    FINE: Received updated configuration with insignificant changes.
    Oct 31, 2013 2:25:53 AM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString
    FINE: Attempting to read configuration from URI: http://1.2.3.4:8091:8091/pools
    Oct 31, 2013 2:25:55 AM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString
    FINE: Attempting to read configuration from URI: http://1.2.3.4:8091:8091/pools/default?uuid=29ee39bf4f6daf0de614e85aacf00ac4
    Oct 31, 2013 2:25:58 AM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString
    FINE: Attempting to read configuration from URI: http://1.2.3.4:8091:8091/pools/default/buckets?v=121918534&uuid=29ee39bf4f6daf0de614e85aacf00ac4
    Oct 31, 2013 2:25:58 AM net.spy.memcached.MemcachedConnection createConnections
    INFO: Added {QA sa=/192.168.0.4:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
    Oct 31, 2013 2:25:58 AM net.spy.memcached.MemcachedConnection createConnections
    INFO: Added {QA sa=/192.168.0.5:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
    Oct 31, 2013 2:25:58 AM net.spy.memcached.MemcachedConnection createConnections
    INFO: Added {QA sa=/192.168.0.6:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
    Oct 31, 2013 2:25:58 AM com.couchbase.client.vbucket.VBucketNodeLocator fillNodesEntries
    FINE: Updating nodesMap in VBucketNodeLocator.
    50 Seconds:  Load is in progress
    Oct 31, 2013 2:26:01 AM net.spy.memcached.MemcachedConnection handleIO
    FINE: Selected 1, selected 1 keys
    Oct 31, 2013 2:26:01 AM net.spy.memcached.MemcachedConnection handleIO
    FINE: Handling IO for:  sun.nio.ch.SelectionKeyImpl@45f76fc7 (r=false, w=false, c=true, op={QA sa=192.168.0.6/192.168.0.6:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=8})
    Oct 31, 2013 2:26:01 AM net.spy.memcached.MemcachedConnection handleIO
    INFO: Connection state changed for sun.nio.ch.SelectionKeyImpl@45f76fc7
    Oct 31, 2013 2:26:01 AM net.spy.memcached.MemcachedConnection handleIO
    INFO: Reconnecting due to failure to connect to {QA sa=192.168.0.6/192.168.0.6:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
    java.net.ConnectException: Connection timed out: no further information
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
        at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:423)
        at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:261)
        at com.couchbase.client.CouchbaseConnection.run(CouchbaseConnection.java:288)

我還調整了org.apache.http.params的SO_timeout和Connection_timeout值,但沒有任何效果。 我無法通過遠程計算機上的Java客戶端連接到遠程服務器嗎? 此外,同一公共ip 1.2.3.4:8091可在瀏覽器上運行

請注意,無法訪問端口11210,而不是8091。

確保可以訪問11210、8091和8092,並且正確映射了主機名。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM