Web sockets are great, but almost all of the demos I see use a separate port (i.e. not port 80), making the app useless in practice.
Come on guys - it's _Web_ sockets, not intranet sockets.
Come on guys - it's _Web_ sockets, not intranet sockets.
if 80 is impractical, many people suggest running off 443 as that (the https port) is unlikely to be filtered.
Some of the node.js websocket impls let you do this easily while others don't. Don't use the ones that require a separate port. Nobody behind a corporate firewall will be able to use your app if you do.
And if you really care, you could make a http forwarding proxy with node to forward normal http requests through to your app if it's written in something else, but deal with websockets itself.