Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .