I've installed weinre as the docs require on my ubuntu laptop and running it:
The same laptop also runs the apache server and I've inserted the required .js code into the footer of my page:
However, this script fails to load. If I swap the IP address for localhost it works fine, yet the IP address is correct. It's almost as if the port is closed (or the program not listening to the port), and when I look at the ports being listened to, 8080 doesn't appear:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:mysql *:* LISTEN -
tcp 0 0 localhost:11211 *:* LISTEN -
tcp 0 0 localhost:5037 *:* LISTEN 8339/adb
tcp 0 0 localhost:http-alt *:* LISTEN 11863/node
tcp 0 0 *:http *:* LISTEN -
tcp 0 0 nermel:domain *:* LISTEN -
tcp 0 0 localhost:ipp *:* LISTEN -
tcp 0 0 *:smtp *:* LISTEN -
tcp 0 0 *:17500 *:* LISTEN 2946/dropbox
tcp 0 0 localhost:dict *:* LISTEN -
If, on the localhost machine, I attempt to access
http://192.168.5.7:8080 it fails with a connection refused. But swap it for
http://localhost:8080 and the debug server page pops up. So it really sounds like a firewall issue of some description, but I thought ubuntu opened up ports that were being listened to anyway?
Secondly, should I be running the apache2 server - could it be interfering? or should I be copying my website files to the weinre static web directory? In this case it is usr/local/lib/node_modules/weinre/web
help !