$MachineAddresses
✖
$MachineAddresses
✖
gives a list of strings specifying the current IP addresses associated with the computer on which the Wolfram System is being run.
Details
- $MachineAddresses gives {} if no network address is defined, so that the computer is effectively "offline".
- $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 $MachineAddresses may change during the course of a single Wolfram System session.
Examples
Basic Examples (1)Summary of the most common use cases
Wolfram Research (2007), $MachineAddresses, Wolfram Language function, https://reference.wolfram.com/language/ref/$MachineAddresses.html.
✖
Wolfram Research (2007), $MachineAddresses, Wolfram Language function, https://reference.wolfram.com/language/ref/$MachineAddresses.html.
Text
Wolfram Research (2007), $MachineAddresses, Wolfram Language function, https://reference.wolfram.com/language/ref/$MachineAddresses.html.
✖
Wolfram Research (2007), $MachineAddresses, Wolfram Language function, https://reference.wolfram.com/language/ref/$MachineAddresses.html.
CMS
Wolfram Language. 2007. "$MachineAddresses." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$MachineAddresses.html.
✖
Wolfram Language. 2007. "$MachineAddresses." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$MachineAddresses.html.
APA
Wolfram Language. (2007). $MachineAddresses. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$MachineAddresses.html
✖
Wolfram Language. (2007). $MachineAddresses. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$MachineAddresses.html
BibTeX
✖
@misc{reference.wolfram_2024_$machineaddresses, author="Wolfram Research", title="{$MachineAddresses}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/$MachineAddresses.html}", note=[Accessed: 10-January-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2024_$machineaddresses, organization={Wolfram Research}, title={$MachineAddresses}, year={2007}, url={https://reference.wolfram.com/language/ref/$MachineAddresses.html}, note=[Accessed: 10-January-2025
]}