The result of
is -I added some stars-:
Quote:
eth0 Link encap:Ethernet HWaddr dc:0e:a1:ba:82:1c
inet addr:192.168.178.** Bcast:192.168.178.*** Mask:255.255.255.0
inet6 addr: fe80::de0e:a1ff:feba:821c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17451 errors:0 dropped:0 overruns:0 frame:0
TX packets:12786 errors:0 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:1000
RX bytes:10460410 (10.4 MB) TX bytes:2232289 (2.2 MB)
Interrupt:44
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:73323 errors:0 dropped:0 overruns:0 frame:0
TX packets:73323 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7336237 (7.3 MB) TX bytes:7336237 (7.3 MB)
wlan0 Link encap:Ethernet HWaddr 44:6d:57:a1:e2:7b
inet addr:192.168.178.** Bcast:192.168.178.255 Mask:255.255.255.0
inet6 addr: fe80::466d:57ff:fea1:e27b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1811250 errors:0 dropped:0 overruns:0 frame:0
TX packets:1227810 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1894687899 (1.8 GB) TX bytes:172295424 (172.2 MB)
I confirm that
Code :
python web_py_test.py IP:8080
allows the framework to be accessed from any computer connected to my modem/router
Code :
python web_py_test.py 8081
results in that the framework is accessible only from the computer that launched it
Code :
python web_py_test.py
does not work at all:
Code :
http://0.0.0.0:8080/
Traceback (most recent call last):
File "web_py_test.py", line 15, in <module>
app.run()
File "/home/frad/.../application.py", line 313, in run
return wsgi.runwsgi(self.wsgifunc(*middleware))
File "/home/.../wsgi.py", line 54, in runwsgi
return httpserver.runsimple(func, validip(listget(sys.argv, 1, '')))
File "/home/.../httpserver.py", line 157, in runsimple
server.start()
File "/home/.../wsgiserver/__init__.py", line 1753, in start
raise socket.error(msg)
socket.error: No socket could be created
---------- Post updated at 10:23 AM ---------- Previous update was at 10:15 AM ----------
Also:
Code :
sudo iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
---------- Post updated at 10:42 AM ---------- Previous update was at 10:23 AM ----------
In addition the result from
the web site whatismyip
is a completely different ip