Tuesday, 1 October 2013

How can I check if port is busy in NodeJS?

How can I check if port is busy in NodeJS?

How can I check if port is busy for localhost?
Is there any standard algorithm? I am thinking at making a http request to
that url and check if response status code is not 404.

No comments:

Post a Comment