node-telnet-client

nodejs http server running simple telnet client

npm install node-telnet-client
35 downloads in the last month

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
    
  2. Invoke telnet client:

    http://NodeServerIp/telnet?ip=www.google.com&port=80
    
  3. 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
npm loves you