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
link|improve this question
feedback

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

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

1 Answer

Look at:

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

This is a text file containing these named ports.

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

Your Answer

 
or
required, but never shown

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