connection refused
Peter Hansen
peter at engcorp.com
Thu Mar 20 08:44:24 EST 2003
daye wrote:
>
> This is a newbie question:
> When I tested ZSI, can not bind.
> Thanks.
>
> >>> a = apply(b.average, range(1,11))
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/home/xliu/lib/python/ZSI/client.py", line 28, in __call__
> requesttypecode=TC.Any(self.name, aslist=1))
> File "/home/xliu/lib/python/ZSI/client.py", line 124, in RPC
> self.Send(url, opname, obj, **kw)
> File "/home/xliu/lib/python/ZSI/client.py", line 175, in Send
> self.h.connect()
> File "/usr/lib/python2.2/httplib.py", line 379, in connect
> raise socket.error, msg
> socket.error: (111, 'Connection refused')
Have you manually verified that the server is actually available,
and listening on the correct port? Use "telnet host port" to
do that before blaming your code.
-Peter
More information about the Python-list
mailing list