I need other computers in my network to access to my website, I ran web2py
with my ip address, for example: python web2py -a xxx -i 192.168.1.70 -p
8000. I can access to my site on 192.168.1.70:8000 in browser on my
computer, however I cannot access on another computer in my network. The
client failed loading data using JSON, and shows 404 error. The server
prints the following:
ERROR:Rocket.Errors.Thread-9:Unhandled Error when serving connection:
Traceback (most recent call last):
File "/Users/PengGu/Projects/web2py/gluon/rocket.py", line 1302, in run
self.run_app(conn)
File "/Users/PengGu/Projects/web2py/gluon/rocket.py", line 2007, in run_app
self.write(data, sections)
File "/Users/PengGu/Projects/web2py/gluon/rocket.py", line 1924, in write
self.send_headers(data, sections)
File "/Users/PengGu/Projects/web2py/gluon/rocket.py", line 1908, in
send_headers
self.conn.sendall(b(header_data))
File
"/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py",
line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 32] Broken pipe
Can anyone help me fix this problem? I really need to show my site with two
computers tonight in my school's showcase.