I suddenly came across the term "ephemeral port" in a Linux article that I was reading, but the author did not mention what it is.
What is an ephemeral port in UNIX?
|
I suddenly came across the term "ephemeral port" in a Linux article that I was reading, but the author did not mention what it is. What is an ephemeral port in UNIX? |
||||
|
|
|
In essence an ephemeral port is a random high port used to communicate with a known server port. For example, if I ssh from my machine to a server the connection would look like:
22 is the standard SSH port I'm connecting to on the remote machine; 37852 is the ephemeral port used on my local machine |
|||||
|
|
|
Quoting from Wikipedia:
The best example I know is FTP. And it's not a Unix-bound concept. |
|||||||
|