node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »


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:
  1. Check the result:
 {"Error": "connect ETIMEDOUT","HasError": true,"Listening": false,"ElapsedTime": "21006.4 ms"}
 {"Error": null,"HasError": false,"Listening": true,"ElapsedTime": "103.5 ms"}

Try the demo site:

Demo: a telnet to google server