[Twisted-Python] using http server in twisted
John Que
qwejohn at hotmail.com
Mon May 30 07:04:04 MDT 2005
Hello,
Thanks; this is stange; I checked again with netstat and 8080 was free
before running
the script and held afterwards.
And the iptables service is are down. and again I get the same error . Could
it be that
something else in the environment is not OK?
Any idea?
Regards,
John
>From: mark <mark at junklight.com>
>Reply-To: Twisted general discussion <twisted-python at twistedmatrix.com>
>To: Twisted general discussion <twisted-python at twistedmatrix.com>
>Subject: Re: [Twisted-Python] using http server in twisted Date: Mon, 30
>May 2005 12:45:47 +0100
>
>Hi,
>
>I run my app in very much the same way and it works fine. A rapid cut and
>paste test of your example works just fine here as well. I would suggest
>that there is something else running on port 8080 (or
>blocking/fire-walling it)
>
>cheers
>
>mark
>
>On 30 May 2005, at 12:28, John Que wrote:
>
>>So I prepared a script named myhttp exactly like this and ran ./myhttp
>>
>>I had made sure with netstat that indeed port 8080 was free before
>>running the script and after
>>running the script it was in a listening state.
>>
>>But when pointing the Mozilla browser to http://localhost:8080 (or
>>http://127.0.0.1:8080)
>>I got the following error:
>>
>>"Method Not Allowed
>>Your browser approached me (at /) with the method "GET". I only allow the
>>method here."
>>
>>I had also made sure that there in no problem with iptables and that the
>>iptable service is down.
>>
>>Any idea ?
>>
>
>
>_______________________________________________
>Twisted-Python mailing list
>Twisted-Python at twistedmatrix.com
>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
More information about the Twisted-Python
mailing list