Report this machine's hostname and local IP address(es) instantly, and its public-facing IP (plus rough geo/ISP info when the lookup service offers it) over the network, with a clear offline error if there is no connection.
This machine's hostname and local network IP address(es) - stdlib socket only, works fully offline.
Inputs
This action takes no inputs.
Outputs
Name
Type
Notes
hostname
string
local_ips
json
primary_ip
string
Public IP
public_ip
This machine's public-facing IP address (and extra fields like city/region/org when the responding service provides them), fetched from a public echo/info service.
Inputs
Name
Type
Required / default
Values and notes
timeout
float
optional, default 6.0
Outputs
Name
Type
Notes
ip
string
service
string
Full network info
info
Local IP info (always present) plus public IP info (best-effort - a failed lookup is reported in public_error rather than failing the whole action, so this still works offline).
Inputs
Name
Type
Required / default
Values and notes
timeout
float
optional, default 6.0
Outputs
Name
Type
Notes
hostname
string
local_ips
json
primary_ip
string
public
json
public_error
string
Use it
Local IP
Command line
shell
python app.py --action local_ip --params '{}'
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.