Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

event port closed fire 2 times #3

Closed
a0903l22 opened this issue Feb 9, 2013 · 1 comment
Closed

event port closed fire 2 times #3

a0903l22 opened this issue Feb 9, 2013 · 1 comment

Comments

@a0903l22
Copy link

a0903l22 commented Feb 9, 2013

portchecker.isOpen(8088, 'localhost', function(isOpen, port, host){ console.log('port '+port+' on '+host+' is ' + (isOpen ? 'open' : 'closed')); }); when i run the app its log in console port 8088 on localhost is closed port 8088 on localhost is closed
@danielzzz
Copy link
Owner

ok, there has been a bug that made the lib execute the callback twice when the port was not open. it's been fixed.
thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants