-- tridem-zend <[email protected]> wrote
(on Monday, 21 March 2011, 07:03 AM -0700):
> Fatal error: Uncaught exception 'Zend_Http_Client_Adapter_Exception' with
> message 'Unable to Connect to tcp://*HOST*:5984.

TBH, this definitely sounds like the host and/or port is not externally
accessible. 

One way to verify is to use a tool like curl to try and connect; if it
can't, then that verifies the diagnosis. If it *can*, then I'll need to
see the connection string (you can mask the host name) you're using to
try and connect.

> Error #111: Connection refused' in
> /*...*/zend/library/ZendFramework-1.10.2/Zend/Http/Client/Adapter/Socket.php:235
> 
> Stack trace:
> 
> #0 /*...*/zend/library/ZendFramework-1.10.2/Zend/Http/Client.php(975):
> Zend_Http_Client_Adapter_Socket->connect('*HOSTNAME*...', '5984', false)
> 
> #1 /*...*/zend/library/ZendFramework-1.10.2/Phly/Couch.php(572):
> Zend_Http_Client->request('POST') 
> 
> #2 /*...*/zend/library/ZendFramework-1.10.2/Phly/Couch.php(413):
> Phly_Couch->_prepareAndSend('*DB*', 'POST')
> 
> #3
> /*...*/zend/*...*/application/modules/default/controllers/IndexController.php(121):
> Phly_Couch->docSave(Object(Phly_Couch_Document))
> 
> #4 /*...*/zend/library/ZendFramework-1.10.2/Zend/Controller/Action.php(513):
> Default_IndexController->saveAction()
> 
> #5
> /*...*/zend/library/ZendFramework-1.10.2/Zend/Controller/Dispatcher/Standard.php(289):
> in
> /*...*/zend/library/ZendFramework-1.10.2/Zend/Http/Client/Adapter/Socket.php
> on line 235
> 
> Our provides says the database can be accessed from external servers. But I
> doubt!
> 
> 
> --
> View this message in context: 
> http://zend-framework-community.634137.n4.nabble.com/Accessing-CouchDB-with-Zend-Framework-using-Phly-Couch-tp3393453p3393656.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> -- 
> List: [email protected]
> Info: http://framework.zend.com/archives
> Unsubscribe: [email protected]
> 
> 

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to