I copied the sample program from http://webpy.org:
=====main.py=====
*import web*
*urls=('/','Handle',)*
*class Handle:*
*    def GET(self):*
*        return 'hello!'*
*if __name__=="__main__":*
*    app=web.application(urls, globals())*
*    app.run()*
================
Then type:# *python main.py 1234*
It returns: *http://0.0.0.0:1234/*
And netstat returns: * tcp        0      0 0.0.0.0:1234            
0.0.0.0:*               LISTEN      10143/python*

However, "http://public_ip:1234"; is not reachable, and returns 
*ERR_CONNECTION_TIMED_OUT*

The Firewall service have been turned off.
Change to other ports doesn't help.
I don't know how can I work on it for the next step... anyone can help?

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to