Sublime Forum

How to use LiveReload on mobile device?

#1

I have computer and mobile phone surf the Internet via Wi-Fi. I read Wes Bos book:

I create file E:\Test.html:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test</title>
    <script src="http://DESKTOP-0G54NVG:35729/livereload.js?snipver=l"></script>
    <script src="http://91.238.29.14:35729/livereload.js?snipver=l"></script>
    <script src="http://kristinita.hopto.org:35729/livereload.js?snipver=l"></script>
</head>
<body>
    Example
</body>
</html>

DESKTOP-0G54NVG — name of my computer,
91.238.29.14 and http://kristinita.hopto.org — my IP and address on My NO-IP:

At me LiveReload works at my computer, but what I have to make on my phone to see the page E:\Test.html?

Thanks.

0 Likes

#2

This is a specific web development question not related to Sublime Text, try to ask it on http://stackoverflow.com/

1 Like

#3

Assuming you are on the same network with your mobile and the computer hosting the site, you need to use the computer’s network IP, not the public IP that your router gives you.

0 Likes

#4

All right, I replace 91.238.29.14192.168.1.1, but how can I view page E:\Test.html on a mobile device via LiveReload? Thanks.

0 Likes