socket.error: [Errno 111] Connection refused
I have setup single development instance using - http://
I am trying to connect programatically as follows and getting connection refused error :
:~/python-
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cloudfiles
>>> conn=cloudfiles
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "cloudfiles/
return Connection(*args, **kwargs)
File "cloudfiles/
self.
File "cloudfiles/
(url, self.cdn_url, self.token) = self.auth.
File "cloudfiles/
conn.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/usr/lib/
self.timeout, self.source_
File "/usr/lib/
raise err
socket.error: [Errno 111] Connection refused
>>>
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ved Antani for more information if necessary.