Questions tagged [node.js]

Node.js is an event based, asynchronous I/O framework that uses Google's V8 JavaScript engine. Node.js is commonly used for heavy client-server JavaScript applications. NOTE: Please read the Tag-Wiki before asking questions.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
676 views

Node.js on cPanel question [closed]

Is it correct/safe to do the steps mentioned here: https://gist.github.com/754303 on the IP that is only used for **ns2.**mydomain.com? Please advise.
emurad's user avatar
  • 111
2 votes
3 answers
23k views

Setting up a purely Node.js http server on port 80

I'm using a fresh install of Centos 5.5. I have Node installed and working (I'm just using Node -- no apache, or nginx.), but I cannot figure out how to make a simple server on port 80. Node is ...
Luke Burns's user avatar
46 votes
2 answers
26k views

How to use node.js as a production web server?

I'm currently developing a project using node, and as I'm approaching the launch, I'm struggling to find resources on how to setup node for use on a commercial, production server. Most resources I ...
naivedeveloper's user avatar
22 votes
3 answers
98k views

Node.js is not accessible from external IPs on Ubuntu

I'm sure this is very noobish, so forgive me. I'm trying to run a node.js server on port 8080 of my ubuntu 10.04. Here's the result of iptables -L on the server: Chain INPUT (policy ACCEPT) target ...
Mikael Gramont's user avatar
0 votes
1 answer
1k views

Need a little advice with apc, node.js, varnish, memcached, nginx

Just need a little advice here if anyone can help. Currently i have nginx running on a virtual private server, i am looking into installing node.js so i can use AjaxIM (http://ajaxim.com/) , and ...
mcbeav's user avatar
  • 23
8 votes
4 answers
163k views

How do I check how many HTTP connections are open currently? [closed]

I want to know how many people are connected to my server. Since I'm doing comet applications, this is important
Alex's user avatar
  • 8,521
4 votes
2 answers
6k views

(node) Hit max file limit. Increase "ulimit -n"

In Ubuntu 9 I am receiving a message on my server that says: (node) Hit max file limit. Increase "ulimit -n" However, typing commands in the terminal reveals the following: $ ulimit ...
kidcapital's user avatar
4 votes
2 answers
14k views

nginx leads to 504 error, but my app is still running

So, we're using Node.js to power CompassionPit.com, and it's all served up by nginx. nginx is throwing a 504 Gateway Time-out The interesting thing, however, is that if I navigate to http://...
Zack Burt's user avatar
  • 201
3 votes
1 answer
707 views

Node.js forwarding to Apache

I want to use both node.js and previously written php code at the same time, so I setup an http proxy in node.js using node-http-proxy and am forwarding the traffic I want Apache to handle to a ...
Michael Younkin's user avatar
12 votes
2 answers
18k views

Akward delay to connect Apache's proxy request to a node.js App

In my Ubuntu Server 10.04 I'm running an example node.js app: var http = require("http"); function onRequest(request, response) { console.log("Request received."); response....
Herman Junge's user avatar
3 votes
2 answers
3k views

Cheapest hosting for a node.js implementation? [closed]

I'm looking for a Linux hosting company providing either easy node.js solutions, or cheap prices, or both. I don't really have any experience looking for good hosting providers, so I'm looking for ...
Qcom's user avatar
  • 169
27 votes
7 answers
200k views

how to stop node.js server

I run the node server by typing node server.js from a putty terminal to get it running. Now i want to stop the server how should i do it? I tried pressing the pause break button on the keyboard. But ...
Rahul Mehta's user avatar
  • 1,009
8 votes
3 answers
24k views

Dynamic port forwarding based on hostname or originating ip

I'm a programmer trying to figure out some stuff beyond my domain: Say I have one machine and clients will make tcp (but not http!) connections to it. I want to redirect clients to their own ports ...
user23398's user avatar
  • 1,211
2 votes
1 answer
1k views

How to point a domain to my web server

I have set up a web server using node.js on one of my computers in my house. Godaddy gives me the option to point it to an IP address. I know that all of the computers in my house have the same IP ...
user avatar
0 votes
1 answer
768 views

Problems building nodejs on MacOS Snow Leopard

I am having trouble building nodejs on MacOS Snow Leopard. I think it might have something to do with my PATH variable not being set correctly for the developer tools location. For some reason, the ...
mrwooster's user avatar
  • 243
0 votes
1 answer
123 views

Super simple question about about command line '$ node example.js'

So I'm working on my first node.js 'Hello World' on a linux machine and I successfully got everything going by running $ node example.js I went to the browser and everything worked fine. Going ...
Spencer Carnage's user avatar
3 votes
1 answer
4k views

Upstart does not work

I followed this tutorial to set up upstart for my node.js server: http://howtonode.org/deploying-node-upstart-monit The problem is, that when I try to run "start mynodeprogram", I get the floowing ...
FlashFan's user avatar
  • 131
1 vote
1 answer
1k views

node.js 'not found' warnings

When I run configure, I'm seeing 'not found' warning messages for port.h, sys/event.h, and kqueue. Checking for program g++ or c++ : /usr/bin/g++ Checking for program cpp : /...
user avatar
2 votes
1 answer
3k views

node-waf nodejs failing

When trying to compile Gilt Hummingbird for NodeJS, I get this error, as node-waf is missing. rm -rf build .lock-wscript bson.node node-waf configure build make[1]: node-waf: Command not found make[1]...
James's user avatar
  • 171
0 votes
4 answers
3k views

Installing OpenSSL (or Node.JS) on RHEL 5

I have to install Node.JS on a customer’s server which runs RedHat Enterprise Linux 5 (5.3, afaik). I’m an experienced Debian and Gentoo admin, but have not worked with RedHat systems for about 10 ...
scy's user avatar
  • 347
1 vote
2 answers
3k views

node.js apache virtual host configuration

My server's name goes like this: servername.myhostingcompany.com. When I run the sample node.js application, I can see the hello world message when I go to servername.myhostingcompany.com:8124. I don'...
user62609's user avatar
6 votes
2 answers
12k views

Routing to various node.js servers on same machine

I'd like to set up multiple node.js servers on the same machine (but listening on different ports) for different projects (so I can pull any down to edit code without affecting the others). However I ...
Dtang's user avatar
  • 61
2 votes
2 answers
1k views

WebSocket Connection vs. Repeated GETs

I am prototyping an application using nodejs. But this question refers to hypothetical large scale roll out. What is more demanding on a server and/or bandwidth: WebSocket stay alive connections or ...
Ross's user avatar
  • 153
3 votes
2 answers
2k views

Nginx, HAproxy, Unicorn, Rails and Node settings

Our application is currently only a "regular" web app, with no fancy things like streaming HTTP or websockets. It's mostly a Rails app, served by a few (20 on 2 machines) Unicorn workers, proxied by a ...
Julien Genestoux's user avatar
3 votes
4 answers
3k views

Reinstall Node.js

What's the best way to reinstall node.js?
Drew LeSueur's user avatar
13 votes
3 answers
20k views

Criteria for choosing a server to run Node.js

What criteria would I use to choose a server to run Node.js? It seems like shared-hosting is a nonstarter since it's so new. Given how it works, what would I be looking at in terms of a production ...
artlung's user avatar
  • 268
2 votes
1 answer
799 views

node.js ./configure warnings

I'm trying to install node.js and I get this list of warnings when I run ./configer. I don't know which libraries/packages I miss on my Debian installation (Linux 2.6.32.6 ppc GNU/Linux on a Bubba2 ...
microspino's user avatar
12 votes
5 answers
9k views

Is anyone using Node.js as an actual web server? [closed]

I am trying to convince myself to pick it up and start developing with it, but I want to know if anyone has expected stability issues or anything of the sort. I understand it isn't "production" ...
Jeremy Boyd's user avatar

1
17 18 19 20
21