Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How Do I find the Port Number For an Internet Service?

by jbrugger (Parson)
on Feb 21, 2006 at 06:51 UTC ( #531630=note: print w/ replies, xml ) Need Help??


in reply to How Do I find the Port Number For an Internet Service?

monarch is right.
On your own system you'd could cat /etc/services as root (i'd never do that in a script), but if you've got a proper configured linux like system, certain ports are reserved for proper use, indeed smtp (mail) connects to 25, pop connects to 110 and secure mail connects to 465.
There are many many more as you probably know. But why do you want to know to how to find out what port number sendmail uses in Perl?

"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.


Comment on Re: How Do I find the Port Number For an Internet Service?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://531630]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2014-08-22 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (163 votes), past polls