2015-11-02 6 views
5

私はコマンド以下でCMDからsync_gatewayを開始しようとしています:リモートサーバにsync_gatewayを介して接続することができませんでし

sync_gateway -url http://75.76.221.21:8091 

私は次のエラーを受け取りました:

20:33:23.014229 WARNING: Error installing Couchbase design doc: Put http://192.168.2.102:8092/sync_gateway/_design/sync_gateway : dial tcp 192.168.2.102:8092: ConnectEx tcp: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. -- db.installViews() at database.go:29120:33:44.055739

WARNING: Error installing Couchbase design doc: Put http:/_design/sync_housekeeping: dial tcp 192.168.2.102:8092: ConnectExtcp: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. -- db.installViews() at database.go:30520:33:44.055739

FATAL: Error opening database: Put 192.168.2.102:8092/omnibazaar/_design/sync_housekeeping: dial tcp 192.168.2.102:8092: ConnectEx tcp: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. -- rest.RunServer() at config.go:415

+0

この質問はよく分かります。私たちのフォーラムでもこれを尋ねましたか? – borrrden

答えて

1

どのようにあなたにあなたのノードに名前を付けましたCouchbaseインスタンス? 「サーバーノード」タブを見ると、ノードの1つが「192.168.2.102」となります。同期ゲートウェイマシンから、75.76.221.21アドレスを使用してCouchbaseクラスタに到達しようとしていることがわかります。同期ゲートウェイマシンからネットワーク接続をチェックして、 "telnet 192.168.2.102 8092"を試して、接続しているかどうか確認してください。

もう1つのことは、設定ファイルでリダイレクトすることで同期ゲートウェイを開始する方が一般的です。それらをexamplesディレクトリで見つけることができます。たとえば、「sync_gateway <例/ config-server.json」

関連する問題