I'm using node.js to make an HTTP server on a remote machine. I listen on a fixed port - call it port 9005. I've toggled between using "0.0.0.0", "127.0.0.1", the host name, and the IPv4 inet address of the machine as the IP address for listening. When I try to connect to this machine through my browser (specifying both hostname and port), I get no response.
Assume there are no firewall issues. I've made simple hello world TCP and HTTP servers on this remote machine, using Java, and both of them work on port 9005 (I connect and get responses). This makes me think that I may be using node.js incorrectly. Is there some external dependency that I need to use with node.js? My code for making a listening server is very much like the hello world code for the HTTP server on the main page.
Thanks in advance!Assume there are no firewall issues. I've made simple hello world TCP and HTTP servers on this remote machine, using Java, and both of them work on port 9005 (I connect and get responses). This makes me think that I may be using node.js incorrectly. Is there some external dependency that I need to use with node.js? My code for making a listening server is very much like the hello world code for the HTTP server on the main page