Unfortunately, none of those work.
Result from using pretty much any of the above:
$ python web2py.py -i 0.0.0.0 -p 8001 -a "password"
The profile/pstats modules cannot be found
Please install the python-profiler package
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2010
Version 1.76.3 (2010-03-03 16:58:56)
Database drivers available: SQLite3, MySQL
Starting cron...
please visit:
http://0.0.0.0:8001
use "kill -SIGTERM 14723" to shutdown the web2py server
Traceback (most recent call last):
File "web2py.py", line 20, in <module>
gluon.widget.start(cron=True)
File "/home/user/web2py.domain.com/gluon/widget.py", line 860, in
start
server.start()
File "gluon/main.py", line 773, in start
self.server.start()
File "gluon/wsgiserver.py", line 1879, in start
raise socket.error(msg)
socket.error: (98, 'Address already in use')
On Mar 8, 1:41 pm, mdipierro <[email protected]> wrote:
> Or
>
> python web2py.py -i 0.0.0.0 -p 8001 -a "password"
>
> for all public IPs
>
> On Mar 8, 9:39 am, Kuba Kucharski <[email protected]> wrote:
>
> > yes, there is a mistake in my recipe
>
> > should be:
>
> > python web2py.py -i 127.0.0.1 -p 8001 -a "password"
>
> > not:
>
> > python web2py.py -i public_ip -p 8001 -a "password"
>
> > here is a slice:
>
> >http://www.web2pyslices.com/main/slices/take_slice/71
>
> > --
> > Kuba
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.