IP can be any LAN or WAN IP address. But you'll want to set your firewall connection allow it.
Device connection with webserver pc can be by LAN or WAN
(i.e by wifi, connectify, adhoc, cable, mypublic wifi etc)
You should follow these steps:
- Go to the control panel
- Inbound rules > new rules
- Click port > next > specific local port > enter 8080 > next > allow the connection>
- Next > tick all (domain, private, public) > specify any name
- Now you can access your localhost by any device (laptop, mobile, desktop, etc).
- Enter ip address in browser url as 123.23.xx.xx:8080 to access localhost by any device.
This IP will be of that device which has the web server.