PyUNO connection to OpenOffice

Skip Montanaro skip at
Tue Jun 10 12:22:46 CEST 2003

    Enrique> I get the following error:

    Enrique> c:\Archivos de programa\OpenOffice.org1.1\program>python 
    Enrique> Traceback (most recent call last):
    Enrique>    File "", line 27, in ?
    Enrique>      smgr = resolver.resolve( 
    Enrique> "uno:socket,host=localhost,port=2002;urp;StarOffice
    Enrique> .ServiceManager" )
    Enrique> Connector : couldn't connec
    Enrique> t to socket (WSAECONNREFUSED, Connection refused)

    Enrique> I simply do not understand the message. Any tip or help about
    Enrique> what's going on will be welcome.

It would appear that StarOffice is not listening on port 2002.  Can you
telnet to that port?


More information about the Python-list mailing list