Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get local ipv4

hostname = socket.gethostname()
local_ip = socket.gethostbyname(hostname)
 
PREVIOUS NEXT
Tagged: #local
ADD COMMENT
Topic
Name
4+8 =