Hands on Python - Problem with Local Cgi Server

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Apr 2 03:48:44 EDT 2009


En Tue, 31 Mar 2009 09:56:48 -0300, Gary Wood <pythonsky at sky.com> escribió:

> I have the DOS box with the message
> Localhost CGI server started
>
> But when i try this I get the Windows Error
> Failed to Connect
>   The connection was refused when attempting to contact localhost:8080.

Try a different port instead of 8080 (e.g. 8765) both in the browser
address and the Python script.

> The py file brings up the DOS box as if its running ok

And you don't see any error message in the console?
It doesn't close automatically?

-- 
Gabriel Genellina




More information about the Python-list mailing list