First of all thansk for the answer,

About the parameters_442.py, sorry that was a typo, I have the 443.

Following your instructions I have changed the options.py this way:
...
ip = socket.gethostbyname(socket.gethostname())
port = 8000
interfaces=[(ip,port)]
interfaces.append((ip,443,'server.key','server.crt'))
ssl_certificate = None
ssl_private_key = None
...

Now when I run it as a service I can access pages on port 8000 but not on 
https
(this happens also if I write the interfaces list in a single line [(ip,port), 
(ip,443,'server.key','server.crt')])

But when I start it from command line I can also open the admin https pages.

It looks like when running as windows service the interfaces option is not 
considered at all, in fact when looking at the winservice.py code there is 
absolutely no reference to options.interfaces.

So I decided to give NSSM (the Non-Sucking Service Manager)<http://nssm.cc/>a 
try and it works!
Tested on Windows Server 2003 and 2008


Many many thanks


-- 



Reply via email to