LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ports (https://www.linuxquestions.org/questions/linux-newbie-8/ports-251858/)

Pedroski 11-06-2004 01:50 PM

ports
 
Can someone tell me what exactly a port is?? Something physical I presume. I'm just wondering whilst reading through the NFS Howto especially the chapter on security. It's a part of the hardware right?

david_ross 11-06-2004 01:54 PM

It may be physical, it may not. It depends on the context but in terms of NFS it is more likely to be refering to a port in terms of a location where a program is listening for connections on a network device.
http://wombat.doc.ic.ac.uk/foldoc/fo...&action=Search

stuart1946 11-06-2004 09:59 PM

Think of it as an old style telephone line coming into a small town, and everyone is on the same party line, so everyone hears all rings and can listen to all calls.

I only answer/respond to calls with 1 ring, you only answer calls with two rings, etc.

If a signal is sent out on the network cable, and it has your machine address (ip address) on it, your machine will responed. This is like the family the caller wishes to reach. If the servers are running, apache server will respond if it sees "port 80" in the network signal. FTP will answer if it sees "port 29" and so on for all the other services that may be running. This is like the member of the family (husband, wife, children) the caller wants to talk to.

This is to be distinguished from the hardware devices on your computer, such as the serial port, printer port, usb port etc. Same word, different meaning. It would be better to refer to 'printer connector" and 'serial connector"

Does this help?

Stuart

Pedroski 11-07-2004 01:52 AM

Yes thanks.
But I'll need to get more! I'll keep looking

Peeyush Maurya 11-07-2004 12:47 PM

Ports are Physical as well as Virtual/software based it depends what are you referring at.

for example ..
Physical ports : USB port / parallel port / serial port
Virtual / software ports :
http://compnetworking.about.com/libr...bldef-port.htm

List of Ports :
http://www.iana.org/assignments/port-numbers
http://geocities.com/peeyush_maurya/...pplication.htm


Regards,
Peeyush Maurya
http://www.linux-faqs.com

Pedroski 11-20-2004 03:33 AM

Thanks Peeyush, I'll check that out!


All times are GMT -5. The time now is 01:35 PM.