Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have windows Xp , I want to test some port , someone advice me to use telnet command on localhost to test it . but i don't know how i can do it (syntax of telnet command on local host) ?

share|improve this question

migrated from serverfault.com Jan 21 '11 at 10:56

This question came from our site for professional system and network administrators.

2 Answers 2

You can do this by executing the Command Prompt (Start -> Run -> cmd)

Once you get the command prompt you can test the port by writing this on the command prompt

telnet localhost PORTNUMBER
share|improve this answer
    
I assume you're trying to test the HW port - if so, this may not get you what you want. I don't know Windows networking as well as another OS, but the OS will likely short circuit the data path and never actually hit the hardware. –  Shannon Nelson Aug 5 '11 at 3:53

to learn some of the syntax from the command prompt type:

c:\telnet /?

Typically you would do something like the following and see what kind of message pops up. Sometimes it may connect but nothing gets displayed. If the port is closed, then there is an error of some kind... even if nothing displays in a couple of seconds, just type "quit" to close the connection.

c:\telnet IPAddrOrHostname Port#
c:\telnet 192.168.0.1 25
c:\telnet server.mydomain.com 80
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.