Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

node testapp.js

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!

share|improve this question

closed as too localized by James Henstridge, jokerdino, RolandiXor, fossfreedom Jul 18 '12 at 22:08

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.