How to find ip address of my pc and phone?

My phone and windows laptop is connected to same wifi…

Type ‘what is my ip’ into google.

@nick

thanks for response.But google returns my public ip.I have to find the local wifi ip…

Googled it…Thanks

local socket = require( "socket" ) local function getIP( testIP ) testIP = testIP or "74.125.115.104" local s = socket.udp() s:setpeername( testIP, 80 ) local ip, sock = s:getsockname() return ip end print("IP: ", getIP("1.1.1.1") )

Each device on your WiFi network will have its own IP address.

If you are actually asking, “How do I get the IP of my home modem/router as set by my internet provider?” I don’t know.

Type ‘what is my ip’ into google.

@nick

thanks for response.But google returns my public ip.I have to find the local wifi ip…

Googled it…Thanks

local socket = require( "socket" ) local function getIP( testIP ) testIP = testIP or "74.125.115.104" local s = socket.udp() s:setpeername( testIP, 80 ) local ip, sock = s:getsockname() return ip end print("IP: ", getIP("1.1.1.1") )

Each device on your WiFi network will have its own IP address.

If you are actually asking, “How do I get the IP of my home modem/router as set by my internet provider?” I don’t know.