a question on SOAP

Rajarshi Guha rajarshi at presidency.com
Thu Jun 13 14:57:08 EDT 2002


Hi,
  I'm, using SOAP.py (0.9.7) and Python 2.2. I have a small python script
acting as a 'server' and another script calls functions on the server.
Currently both client and server are on the same machine. However when
the client calls the server I get the following errors:
'
Traceback (most recent call last):
  File "./cdbclient.py", line 84, in ?
    c =  s.getCAS(cas = config['cas'],theory = config['theory'])
  File "/home/rajarshi/src/py/modules/SOAP.py", line 3616, in __r_call
    self.__hd, self.__ma)
  File "/home/rajarshi/src/py/modules/SOAP.py", line 3534, in __call
    config = self.config)
  File "/home/rajarshi/src/py/modules/SOAP.py", line 3410, in call
    r.putrequest("POST", real_path)
  File "/usr/local//lib/python2.2/httplib.py", line 453, in putrequest
    self.send(str)
  File "/usr/local//lib/python2.2/httplib.py", line 395, in send
    self.connect()
  File "/usr/local//lib/python2.2/httplib.py", line 379, in connect
    raise socket.error, msg
socket.error: (111, 'Connection refused')

My firewall is off, nmap shows that the port 8080 is open, so why would
the server be refusing connections?

Any pointers would be appreciated.

TIA,



More information about the Python-list mailing list