Turns out I had my firewall rules a bit wrong.
Working now, it's nice.
On Monday, August 12, 2013 11:40:40 AM UTC-7, Darrel Grant wrote:
>
> I'm just learning node and none of the devs I know code in it so I have to
> ask this newbie question here.
>
> My server consists of this, the most basic server you could run for
> development:
>
> ====
> var http = require("http");
>
> var options = {};
>
> var server = http.createServer(options, function(request, response) {
> response.writeHead(200, {"Content-Type": "text/plain"});
> response.write("sup");
> response.end();
> });
> server.listen(8888, '0.0.0.0');
> ====
>
>
> It responds on the local machine, but I need it to respond to other
> machines on the network, let alone machines from outside the network.
>
> I've googled this issue and it's usually down to firewall rules, which I
> have already tried to no effect.
>
> I'm on centos 6.3 and have already disabled selinux as well, and still no
> response to this request from other machines:
>
> curl -i http://machines_ip:8888
>
>
> Is there perhaps an option to give the createServer() function to make it
> listen? Any suggestions about what I might be missing?
>
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.