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!
==Range== {| class="wikitable" |- ! Range !! Operating system |- | 49152β65535 || suggested by RFC 6335 and the [[Internet Assigned Numbers Authority]] (IANA) for dynamic or private ports.<ref>[https://www.iana.org/assignments/port-numbers IANA port number assignments]</ref><ref>{{cite IETF |title=Internet Assigned Numbers Authority (IANA) Procedures for the Management of the Service Name and Transport Protocol Port Number Registry |rfc=6335 |sectionname=Port Number Ranges |section=6 |last1=Cotton |first1=M. |last2=Eggert |first2=L. |last3=Touch | first3=J. |last4=Westerlund |first4=M. |last5=Cheshire |first5=S. |date=August 2011 |quote=the Dynamic Ports, also known as the Private or Ephemeral Ports, ... 49152-65535 (never assigned) |publisher=[[Internet Engineering Task Force|IETF]] |access-date=November 14, 2021 |doi=10.17487/RFC6335}}</ref> [[FreeBSD]] has used the IANA port range since release 4.6. [[Windows Vista]], [[Windows 7]], and [[Server 2008]] use the IANA range by default.<ref>[http://support.microsoft.com/kb/929851/ Microsoft KB Article 929851]</ref> |- | 32768β60999 || used by many [[Linux kernel]]s.<ref group=note>The effective range is accessible via [[procfs]] at node <code>/proc/sys/net/ipv4/ip_local_port_range</code>.</ref><ref>{{cite web |url=https://www.kernel.org/doc/html/latest//networking/ip-sysctl.html#ip-variables |title=IP Sysctl |website=The Linux Kernel documentation |access-date=2021-06-27 |quote=The default values are 32768 and 60999 respectively.}}</ref> |- | 32768β65535 || used by [[Solaris (operating system)|Solaris]] OS {{citation needed|date=August 2022}} and [[AIX (operating system)|AIX]] OS.{{citation needed|date=August 2022}} |- | 1024β65535 || RFC 6056 <ref>{{cite IETF |RFC=6056 |title=Recommendations for Transport-Protocol Port Randomization |section=3.2. Ephemeral Port Number Range |author=M. Larsen |author2=F. Gont |date=January 2011 |quote=However, ephemeral port selection algorithms should use the whole range 1024β65535.}}</ref> |- | 1025β60000 || default of Windows Server 2008 with Exchange Server 2007 installed.<ref>[http://support.microsoft.com/kb/929851 Microsoft KB Article 929851]</ref> In addition to the default range, all versions of Windows since Windows 2000 have the option of specifying a custom range anywhere within 1025–65535.<ref>[http://support.microsoft.com/kb/929851/ Microsoft KB Article 929851]</ref><ref>[http://support.microsoft.com/kb/196271/ Microsoft KB Article 196271]</ref> |- | 1024β5000 || [[FreeBSD]] versions before 4.6, including the [[Berkeley Software Distribution]] (BSD).<ref>{{cite book|title=UNIX Network Programming, Volume 1, Second Edition: Networking APIs: Sockets and XTI|publisher= Prentice Hall|year= 1998|isbn= 0-13-490012-X|pages=42β43}}</ref><ref>{{cite web |url=https://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html |title=The Ephemeral Port Range |quote=note that the Linux 2.4 kernel will default the range of 32768 through 61000 if adequate kernel memory is available |date=2001 |author=Mike Gleason |access-date=2018-01-15 }}</ref> Default range of [[Microsoft Windows]] operating systems through [[Windows XP]].<ref>[https://technet.microsoft.com/en-us/library/bb878133.aspx Microsoft Windows Technet Library]</ref> |- | 1025β5000 || used by [[Windows Server 2003]], until Microsoft security update MS08-037 from 2008 is installed, after which it uses the IANA range by default.<ref>[http://support.microsoft.com/kb/956188/ Microsoft KB Article 956188]</ref> |}
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)