I have a node.js that I'm trying to run locally on my machine (Ubuntu 12.04) but when I try to connect to the app it always times out. The same app works fine on a Ubuntu 11.04 VM I've been using previously (though I expect this problem is related to some setting I missed and not the OS version).
The node.js app runs when I execute
and is running on port 56000 which I can verify by using netstat
tcp 0 0 0.0.0.0:56000 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:56000 127.0.0.1:41471 TIME_WAIT
however as mentioned above when I try to connect via a browser or curl command it always times out (whether I try 127.0.0.1:56000, 0.0.0.0:56000, or 'my local static ip':56000.
Any idea what could be causing this problem or which logs I could investigate to find more information?
Thanks for your help!!
UPDATE: After some more testing I was able to get a basic app working, so it does seem to be a problem with the node.js app itself (most likely an updated dependency which I missed that is breaking it.) so this question probably doesn't fit here and can be deleted. Sorry!