Can I listen to ports other than 80 on Joyent's no.de development environment?

StackOverflow https://stackoverflow.com/questions/9078551

  •  21-04-2021
  •  | 
  •  

سؤال

I recently provisioned a Node SmartMachine on Joyent's free development platform. I'm having trouble getting my Node server to listen to any port other than 80.

This works:

server.listen( 80 );

When I visit http://[my machine].no.de/, I see my expected output.

However, if I try:

server.listen( 3000 );

and visit the page on the corresponding port, I'll get something like "Oops! Google Chrome could not connect to [my machine].no.de:3000"

I haven't found anything useful on http://wiki.joyent.com/. Does anyone have any insights into what I'm missing?

هل كانت مفيدة؟

المحلول

If you ssh in there (like you would do in a normal VPS), you can start apps on different ports also, but not through their git-deployment system (which will auto start your app only on port 80). I actually did that and know for a fact it works.

Look at this: http://alessio.no.de:3000/

نصائح أخرى

Well chances are that Joyent did not allow connections from port other than 80.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top