Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
PaaS that allows node.js to use non-http ports?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Paul Tanner  
View profile  
 More options Nov 6 2012, 3:50 am
From: Paul Tanner <p...@virtual-techno.com>
Date: Tue, 06 Nov 2012 08:49:22 +0000
Local: Tues, Nov 6 2012 3:49 am
Subject: PaaS that allows node.js to use non-http ports?
Hi,

We have developed a webserivce built in node that susbcribes to TCP
sockets to get realtime input.

Having got excited about switching from dedicated severs to PaaS I
seem to have hit a brick wall in that non-http ports are not yet
supported on those I've looked at.

This is a shame because quite a large class of apps are ruled out
while this restriction remains.

I hear that websockets will be supported real soon now.  This is
goodness but not enough for the above requirement.

Have I missed anything or will I need to be super-patient on this?

Regards, Paul


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arunoda Susiripala  
View profile  
 More options Nov 6 2012, 3:53 am
From: Arunoda Susiripala <arunoda.susirip...@gmail.com>
Date: Tue, 6 Nov 2012 14:23:21 +0530
Local: Tues, Nov 6 2012 3:53 am
Subject: Re: [nodejs] PaaS that allows node.js to use non-http ports?

Look for http://nodejitsu.com/

--
Arunoda Susiripala

@arunoda <http://twitter.com/arunoda>
<http://gplus.to/arunoda>https://github.com/arunoda
http://www.linkedin.com/in/arunoda


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bradley Meck  
View profile  
 More options Nov 6 2012, 7:23 am
From: Bradley Meck <bradley.m...@gmail.com>
Date: Tue, 6 Nov 2012 04:23:46 -0800 (PST)
Local: Tues, Nov 6 2012 7:23 am
Subject: Re: PaaS that allows node.js to use non-http ports?

Having worked on load balancers I can say load balancing multiple apps on
raw TCP is less than trivial. Basically you end up having to make users
declare their socket needs before hand, and you assign a host:port that
will map to their app inside the internals of the PaaS. If someone has good
ideas on how to make this not painful for users, let me know.

Cheers,
Bradley


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
José F. Romaniello  
View profile  
 More options Nov 6 2012, 9:43 pm
From: José F. Romaniello <jfromanie...@gmail.com>
Date: Tue, 6 Nov 2012 18:43:37 -0800 (PST)
Local: Tues, Nov 6 2012 9:43 pm
Subject: Re: [nodejs] PaaS that allows node.js to use non-http ports?

I was working on something similar and asked nodejitsu, they dont support raw Tcp ports yet.

I did a research for my project and there isnt any with this, you might have to use a vm


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tomasz Janczuk  
View profile  
 More options Nov 7 2012, 12:34 am
From: Tomasz Janczuk <tom...@janczuk.org>
Date: Tue, 6 Nov 2012 21:34:06 -0800 (PST)
Local: Wed, Nov 7 2012 12:34 am
Subject: Re: PaaS that allows node.js to use non-http ports?

You can listen on a TCP port to process arbitrary (non-HTTP) traffic using
WIndows Azure Cloud Services. There are two varieties: Web Role and Worker
Role. You need Worker Role. You can set up several instances and have
Windows Azure load balance traffic between them. Check out the tutorial
at https://www.windowsazure.com/en-us/develop/nodejs/tutorials/getting-s....


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Evan  
View profile  
 More options Nov 7 2012, 11:58 am
From: Evan <evantah...@gmail.com>
Date: Wed, 7 Nov 2012 08:58:29 -0800 (PST)
Local: Wed, Nov 7 2012 11:58 am
Subject: Re: PaaS that allows node.js to use non-http ports?

I've been looking for a PaaS provider with the same requirements as well,
and haven't had much luck.  I've tried appFog, Heroku, no.de (when
it existed), and Nodejitsu and they all limit you to 1 (randomly assigned)
http/s port.

However, it's very easy to get node running on a vanilla Joyent or AWS
instance these days, and you can have all the ports you want.  I'm
currently doing this, and it's really not that hard to manage.  

@Tomasz - can you talk more about your experiences using Azure?  


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt  
View profile  
 More options Nov 7 2012, 1:27 pm
From: Matt <hel...@gmail.com>
Date: Wed, 7 Nov 2012 13:27:19 -0500
Local: Wed, Nov 7 2012 1:27 pm
Subject: Re: [nodejs] Re: PaaS that allows node.js to use non-http ports?

The problem these PaaS providers face is that http (and even https with
SNI) allow you to route incoming requests by hostname on a single IP
address.

Other TCP services (generally) do not allow this, forcing the provider to
give you a unique IP address. This is relatively straightforward for
someone like Amazon who have several /15s available to them (131k IP
addresses each), but much more complicated for other PaaS providers.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bradley Meck  
View profile  
 More options Nov 7 2012, 4:30 pm
From: Bradley Meck <bradley.m...@gmail.com>
Date: Wed, 7 Nov 2012 13:30:38 -0800 (PST)
Local: Wed, Nov 7 2012 4:30 pm
Subject: Re: [nodejs] Re: PaaS that allows node.js to use non-http ports?

Yep, but there are interesting ways to do things still, like STUN and SOCKS
bindings if you have a proxy of your own out there you can generally setup
the tunnel inside most PaaS. Generally though the PaaS is stuck to
preallocating port/host pairs and charging for them since most don't give
you a full fledged IP.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tomasz Janczuk  
View profile  
 More options Nov 8 2012, 12:16 am
From: Tomasz Janczuk <tom...@janczuk.org>
Date: Wed, 7 Nov 2012 21:16:54 -0800 (PST)
Local: Thurs, Nov 8 2012 12:16 am
Subject: Re: PaaS that allows node.js to use non-http ports?

Well I work for Microsoft, so you can only imagine my experience using
Azure just cannot be bad ;). But seriously, there are several ways of
running node.js code in Azure:
- you can own a VM (Windows or Linux), where you can listen on whatever TCP
port you please and have the traffic load balanced between VMs that form a
cluster,
- you can run node.js apps in a so called Cloud Service. Cloud Service
differs from a raw VM in that your app is managed for you (Azure will
detect when it died and restart a new instance; Azure will also patch the
OS for you when necessary; all while ensuring that at least one instance of
your app is always running). Cloud services come in two flavors: Web Role
and Worker Role. In a Web Role your node.js app is hosted in IIS using
https://github.com/tjanczuk/iisnode, and effectively restricted to HTTP. In
a Worker Role you have a similar flexibility as in raw VM in terms of
listening on arbitrary TCP ports using whatever protocols you want - and
this was my suggestion for addressing this particular scenario. Azure can
load balance traffic across multiple instances of a Cloud Service.
- you can host your node.js app in Windows Azure Web Sites. This method
runs your app in a shared hosting environment in IIS using
https://github.com/tjanczuk/iisnode, which again restricts the protocol to
HTTP(S). Windows Azure Web Sites have several advantages over Web Roles,
most notably git based deployment, and a free offering.

You can deploy node.js apps to Windows Azure VM or Windows Azure Web Sites
from whatever platform node.js runs on using the node.js-based CLI we have:
run `npm install azure -g` and then call `azure` to get started. Yes, that
includes Macs. Also make sure to check
out https://www.windowsazure.com/en-us/develop/nodejs/.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »