({{, (RefLink[$MachineAddresses, paclet:ref/$MachineAddresses]) 
gives a list of strings specifying the current IP addresses associated with the computer on which the Wolfram System is being run.}})

OpenersNotesSection(Spacer1)Details

(RefLink[$MachineAddresses, paclet:ref/$MachineAddresses]) gives {} if no network address is defined, so that the computer is effectively "offline".

(RefLink[$MachineAddresses, paclet:ref/$MachineAddresses]) will typically give a list with one element for each network adapter on your computer.

If a network configuration is changed, the value of (RefLink[$MachineAddresses, paclet:ref/$MachineAddresses]) may change during the course of a single Wolfram System session.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

List the IP address associated with each connected network adapter:

$MachineAddresses

Disconnecting an adapter will remove its entry from the list:

$MachineAddresses

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[$RequesterAddress, paclet:ref/$RequesterAddress])  ▪  (RefLink[$MachineDomains, paclet:ref/$MachineDomains])  ▪  (RefLink[$MachineID, paclet:ref/$MachineID])  ▪  (RefLink[$GeoLocation, paclet:ref/$GeoLocation])  ▪  (RefLink[$NetworkConnected, paclet:ref/$NetworkConnected])  ▪  (RefLink[$NetworkInterfaces, paclet:ref/$NetworkInterfaces])  ▪  (RefLink[NetworkPacketCapture, paclet:ref/NetworkPacketCapture])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Internet Connectivity, paclet:tutorial/InternetConnectivity])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[System & License Management, paclet:guide/SystemAndLicenseManagement])}, {▪(RefLinkPlain[Internet and Computer Systems Data, paclet:guide/InternetAndWebRelatedData])}, {▪(RefLinkPlain[System Information, paclet:guide/SystemInformation])}, {▪(RefLinkPlain[Cloud Execution Metadata, paclet:guide/CloudExecutionMetadata])}, {▪(RefLinkPlain[Network Programming, paclet:guide/NetworkProgramming])}})}})