1. Note: This would work only if your computer and phone are connected to same network or your computer is connected to your phone's hotspot.
2. Start running the live server. You will see something like this in the address bar of your browser:
http:
3. Note also: You may have to disable the firewall on your wifi before this will work.
-If you are a Windows user (10 and 11, google for others), go to Windows security,
-select "Firewall and Protection
-Click on the Public or Private network depending on where your current wifi is
4.Search for command prompt or just cmd on your Pc. You can also open terminal or powershell
-type this command and hit enter:
ipconfig
5.You are going to see some stuff,
- look for the part with the IPv4 Adresses.
- Something like this:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : ed60::b78a:43c:47h1:a96%40
IPv4 Address. . . . . . . . . . . : 192.172.43.180
Subnet Mask . . . . . . . . . . . : 125.125.125.0
Default Gateway . . . . . . . . . : 192.172.43.144
6. Try any of the the IP Adresses in your phone browsers ddress bar. The ipv4 works well
- at the end of the ip address, type the four digits at the end of your running server
- e.g. '192.172.43.180:5500', for port 5500
- or 'https://192.172.43.144:2208' for port 5508, etc.
- You 'should' have your page loaded without any hasle.
- Remember the earlier instruction about firewall.