1
vote
0answers
27 views

Aptana Studio 3 Webserver's stop command is never called

I have problem with Web Server's configuration in Aptana Studio 3. I want configure my node.js server so I can use it from both Servers view and Run Configurations.... Here's what I do: and as You ...
0
votes
2answers
39 views

Nginx + PHP VS node.js [closed]

What are the benefits and drawbacks of using: Nginx + PHP + MySQL VS Node.js + MySQL PS. Don't ask what I'm building, i just want a general idea/concept between the two setups. I don't ask about ...
-1
votes
1answer
37 views

Real-time Server Status and Information

Last week, I found an admin panel on WrapBootstrap which contains a Dashboard page. This page was awesome because it was containing some server informations about the load and the status. There's a ...
0
votes
0answers
30 views

Accessing node.js running on local computer

I'm running a node.js server on a Mac and want to share the URL with someone else. When I access my public IP on the correct port, this doesn't work. Is there another way to set it up to make it ...
1
vote
0answers
43 views

traditional web server with node.js

Everyone says node is very good for real time apps, Can I know how good node will be for a traditional (hit and serve) web server implementation, say for e.g. We don't need to have client(browser) ...
-5
votes
1answer
381 views

How can I use Nodejs with Windows 7? [closed]

I'm about to became insane looking for it, most of the examples shows only how to run it on linux terminal and just the communication with the server. Can someone PLEASE explain to me how I can use ...
1
vote
0answers
323 views

nginx load balancer to node.js

I am very new to the node.js and nginx world. I am trying to arrange a simple setup having 2 node servers (just a simple hello world) and nginx working as the load balancer. I am using upstream to ...
1
vote
3answers
165 views

Parallel requests in Node.js web server

If I have a web server that runs Node.js, then will I be able to serve multiple requests at the same time? From my preliminary tests I can see than Node being primarily single threaded can process ...
0
votes
1answer
60 views

NodeJS connection before disconnect

Sorry first for the misunderstooding title, but couldn't make it better. So here is my problem: I'm using NodeJS and socket.IO. I got a lobby system for something like a game. You create root, the ...
0
votes
1answer
50 views

Using node.js to listen on 2 different ports

I'm currently using Sockets.io to communicate with clients, sending JSON and whatnot, from a port. That's all working good, but what i'd like to do is listen simultaneously on another port to create ...
1
vote
1answer
352 views

My node.js app is getting an Unhandled 'error' event randomly on writing requests after I had put it behind nginx

I am running node.js(0.8.20 and 0.9.10) on windows 2012 server. I have ran it absolutely without any problems for weeks. That was without Nginx(1.2.6) in front. With nginx in front configured like ...
0
votes
2answers
67 views

serving image using nodejs

I have a image pic.jpeg which I have to display on browser.Here is snippet of code I have written. var mimeTypes = { '.js' : 'text/javascript', '.css' : 'text/css', ...
5
votes
1answer
733 views

Python — ConnectionError: Max retries exceeded

I occasionally get this error when my server (call it Server A) makes requests to a resource on another one of my servers (all it Server B): ConnectionError: HTTPConnectionPool(host='some_ip', ...
0
votes
1answer
27 views

Mobile API Security Paradigm

I've coded the mobile api using Node.js, Redis & MongoDB. However right now I am looking for a concrete way to provide security in our system. The question I have inspired by the infamous principle of ...
0
votes
1answer
68 views

Socket.IO cannot call 'on'

I am making a simple node.js app and intend to use socket.io but so far I cannot get the server to start. This is my code: var http = require('http'), io = require('socket.io'), fs = ...
0
votes
2answers
96 views

Express 3 - Serving static scripts/styles - Error: Failes to load resource (404)

I am new to node and server-side development in general and started having a look at it today so mind my question. I have looked for suiting answers in previous post, yet somehow every suggested ...
1
vote
2answers
54 views

node.js - i can't reproduce progressive response from server

well, i'm completely new to node.js. Starting to try it, i'm following the introduction made by Ryan Dahl (http://www.youtube.com/watch?v=jo_B4LTHi3I) and at this point (around 0:17:00) there's an ...
1
vote
1answer
115 views

how to properly close node-express server?

I need to close server after getting callback from /auth/github/callback url. With usual HTTP API closing server is currently supporting with server.close([callback]) API function, but with ...
0
votes
1answer
59 views

Redirecting user request, nodeJS

I'm building a little email server based on nodeJS (homework). When a user tries to login I check that he has an account and then redirect him to /user/userName. I set the response status to 201 ...
1
vote
2answers
1k views

Running Node.js in apache?

We have an Apache Webserver installed on a machine which also serves pages using Perl. For a project I've decided to use Node.js instead of Perl/Ruby. Just wondering if it's possible to use Apache as ...
0
votes
1answer
52 views

What is the actual way to use socket io to serve many users simultaneously .?

I want to have a real-time connection between many group of users and i am new to server side scripting.........I want to send certain messages(data) to certain users, now my question is how to do it ...
0
votes
2answers
168 views

how to stop node js server from crashing

I am new to node js. I was trying to create a simple HTTP server. I followed the famous example and created a 'Hello World!' server as follows. var handleRequest = function(req, res) { ...
3
votes
2answers
248 views

Compiling multiple Typescript files

My nodejs Typescript server has grown in complexity and now relies on a few classes defined in another .ts file. This has created a strange compilation problem: tsc server.ts compiles everything ...
1
vote
1answer
217 views

Socket.IO Maximum call stack size exceeded

I've written a small Socket.IO server, which works fine, I can connect to it, I can send/receive messages, so everything is working ok. Just the relevant part of the code is presented here: var ...
-2
votes
1answer
60 views

Is Node.js suitable for the following scenario? [closed]

I am building a web server running on a Unix machine, the scenario is as follows: A user can use his/her mobile phone to take a picture and upload to the server, then the server will run an image ...
2
votes
2answers
64 views

Outlining a Solution Stack [closed]

please excuse my ignorance as I'm an Aerospace Engineer going headfirst into the software world. I'm building a web solution that allows small computers (think beagleboard) to connect to a server ...
0
votes
2answers
49 views

Server for static webapp

I'm building a client side only webapp written in html5 & javascript, but I still need a server to server these files. I'm using GruntJS for minifying/concatenating files and I plan to put the ...
0
votes
1answer
62 views

Managing http sessions, nodeJS

I am building an HTTP server in nodeJS (homework assignment), and I need to manage HTTP sessions with cookies - for each session I send a cookie with UUID (string ID) and then when I get it back I ...
0
votes
1answer
49 views

How do I set up routing to multiple instances of a node.js server on one url?

I have a simple node.js server app built that I'm hoping to test out soon. It's single threaded and works fine without any child processing whatsoever. My problem is that the server box has multiple ...
0
votes
2answers
773 views

Using Nodejs with Typescript

I would like to use Nodejs in my typescript project and downloaded node.d.ts from https://github.com/borisyankov/DefinitelyTyped/tree/master/node But VisualStudio finds a lot of errors in the .d.ts ...

1 2 3 4
15 30 50 per page