why node.js is unstable on port 13130

99 views
Skip to first unread message

reza zamani

unread,
Apr 28, 2015, 6:14:11 PM4/28/15
to nod...@googlegroups.com
Hi
we're using node.js on linux server and we have configured it on port 13130.
It works well for 2 or 3 days, but suddenly the port is blocked (i think maybe by firewall) and the service gets down.
so we have to open the port again and reset  node.js to have it worked again.
First: Why does this happen to us?
Second : Which port is the best for node.js?
third: Is there any technique to use and configure Node.js that we don't know?

Thanks you for help

Filip Voska

unread,
Apr 29, 2015, 6:48:07 AM4/29/15
to nod...@googlegroups.com
I don't really think it's Node.js-related. Under what kind of network are you and who is managing your firewall? Does it block any other ports in the same way or only 13130?

There is no "best" port for any application. They will all run equally well on any port (of course first 1024 well-known ports are reserved for things like HTTP, SSL, FTP and you shouldn't use them). There are some common ports though. If you have a web server on port 80, it's common to have some other web service on 8080 (node.js app for example).

I'd say run your node apps on ports which your network administrator can leave open.

vivek gs

unread,
Apr 29, 2015, 6:48:08 AM4/29/15
to nod...@googlegroups.com
Use module like forever,pm2 etc

--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/03fa027d-545a-49ac-8c95-a3b0cab4e3d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Regards,
VIVEK
Software Developer
Bangalore

Filip Voska

unread,
Apr 30, 2015, 12:10:23 AM4/30/15
to nod...@googlegroups.com
Forever will not solve port forwarding problems (if they have them).
What forever is good for is monitoring application status and restarting it if it crashes.

like...@gmail.com

unread,
May 3, 2015, 9:53:56 PM5/3/15
to nod...@googlegroups.com
Can you tell me about something port forwarding problems and why forever can not slove? Thanks

在 2015年4月30日星期四 UTC+8下午12:10:23,Filip Voska写道:

Filip Voska

unread,
May 4, 2015, 11:11:58 AM5/4/15
to nod...@googlegroups.com
Forever is a tool which starts your app and restarts it if it crashes. In your app you define port on which app listens. It has nothing to do with the way you start your app. Port forwarding is done in your firewall software and/or router NAT settings.
Reply all
Reply to author
Forward
0 new messages