[Twisted-Python] using http server in twisted

mark mark at junklight.com
Mon May 30 07:45:47 EDT 2005


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 ?
>





More information about the Twisted-Python mailing list