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 wonder how stuff like this works in windows (xp and other that have telnet):

Start-> Run -> cmd -> telnet <xyz.com> http

Start-> Run -> cmd -> telnet <xyz.com> pop3

Start-> Run -> cmd -> telnet <xyz.com> smtp

Are these "named" ports? Only windows knows that it has to substitute port numbers coz these are standard ports? Is there way I could create such a named port on windows? I would like something like this :

telnet <xyz.com> oracle 

to translate to

telnet <xyz.com> 1521
share|improve this question

migrated from stackoverflow.com Apr 8 '10 at 12:03

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Look at:

C:\WINDOWS\system32\drivers\etc\services

This is a text file containing these named ports.

share|improve this answer
    
See also: getservbyname() and /etc/services –  grawity Apr 8 '10 at 13:22

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.