2015-11-02 42 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

कैसे आप अपने नोड्स नाम था अपने कॉचबेस उदाहरण? यदि आप सर्वर नोड्स टैब देखते हैं, तो आपके नोड्स में से एक है "1 9 2.168.2.102"। मैं देखता हूं कि आपकी सिंक गेटवे मशीन से, आप 75.76.221.21 पते का उपयोग कर कोचबेस क्लस्टर तक पहुंचने का प्रयास कर रहे हैं। क्या आपने अपनी सिंक गेटवे मशीन से नेटवर्क कनेक्टिविटी की जांच की है, "टेलनेट 192.168.2.102 80 9 2" आज़माएं और देखें कि यह कनेक्ट होता है या नहीं।

एक और बात, कॉन्फ़िगरेशन फ़ाइल में रीडायरेक्ट करके सिंक गेटवे प्रारंभ करना अधिक आम है, आप उन्हें उदाहरण निर्देशिका में पा सकते हैं। उदाहरण के लिए "sync_gateway < उदाहरण/config-server.json"

संबंधित मुद्दे