Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Ephemeral port
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Short-lived transport protocol port for IP communications}} An '''ephemeral port''' is a communications endpoint ([[Port (computer networking)|port]]) of a [[transport layer]] protocol of the [[Internet protocol suite]] that is used for only a short period of time for the duration of a communication session. Such short-lived ports are allocated automatically within a predefined range of [[port number]]s by the [[IP stack]] software of a computer operating system. The [[Transmission Control Protocol]] (TCP), the [[User Datagram Protocol]] (UDP), and the [[Stream Control Transmission Protocol]] (SCTP) typically use an ephemeral port for the [[Client (computing)|client]]-end of a [[client–server]] communication. At the [[Server (computing)|server]] end of the communication session, ephemeral ports may also be used for continuation of communications with a client that initially connected to one of the services listening with a [[well-known port]]. For example, the [[Trivial File Transfer Protocol]] (TFTP)<ref>{{cite IETF |title=The TFTP Protocol (Revision 2) |rfc=1350 |author=Karen R.Sollins |date=July 1992 |publisher=[[Internet Engineering Task Force|IETF]] |access-date=2020-10-18 |url=https://tools.ietf.org/html/rfc1350 }}</ref> and [[Remote Procedure Call]] (RPC) applications can behave in this manner. The allocation of an ephemeral port is temporary and only valid for the duration of the communication session. After completion of the session, the port is destroyed and the port number becomes available for reuse, but many implementations simply increment the last used port number until the ephemeral port range is exhausted, when the numbers roll over. Ephemeral ports are also called ''dynamic ports'', because they are used on a per request basis, and are only known by number once allocated.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)