On Dec 4, 2012, at 03:26, atul kanekar wrote:

> var http = require('http');
> http.createServer(function (req, res) {
>   res.writeHead(200, {'Content-Type': 'text/plain'});
>   res.end('Hello Node.js\n');
> }).listen(5190,"124.153.76.232");

Port 5190 is registered with the IANA as belonging to the AOL Instant Messenger 
protocol, so it's confusing that you're using it for the HTTP protocol. Your 
hosting provider might even be blocking port 5190 in an effort to prevent 
people from writing AIM bots. Consider using a well-known HTTP port for your 
HTTP server, such as 80, 8008 or 8080, or else using a port number which has 
not already been registered with the IANA for other purposes.

Consider omitting the second argument to the listen() function, so that the 
server will listen on all hostnames.

-- 
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

Reply via email to