local-ip-addresses-and-hostnames
Get local IP addresses and hostnames
Examples:
getLocalIpAddresses() = ['127.0.0.1', '192.168.1.101', '10.0.0.101']
getLocalHostnames() = ['localhost', 'example.com']
getLocalIpAddressesAndHostnames() = ['127.0.0.1', '192.168.1.101', 'localhost', '10.0.0.101', 'example.com']