/node-telnet-client

A nodejs http server running simple telnet client

Primary LanguageJavaScript

nodejs telnet client

A nodejs http server running simple telnet client

  • Nodejs = 0.10.12
  • Express.js = 3.2.6
  • Git for deploy
  1. Run the server:
 node server.js
  1. Invoke telnet client:
 http://NodeServerIp/telnet?ip=www.google.com&port=80
  1. Check the result:
 {"Error": "connect ETIMEDOUT","HasError": true,"Listening": false,"ElapsedTime": "21006.4 ms"}
 or
 {"Error": null,"HasError": false,"Listening": true,"ElapsedTime": "103.5 ms"}

Try the demo site:

Demo: a telnet to google server