![]() Thanks for following along, and catch you in the next one. You might be using it to test websites and web applications locally without knowing what exactly it is. Now, you can test mobile and tablet views on real devices. You can now browse your website directly from your other device while you develop on the computer. If you’re running a server on and your IP is 192.168.1.10, then you need to visit on your mobile or tablet. On your phone or tablet, open your browser of choice and type in - which in my case was. ![]() Whatever way you run your server, make sure to use the PORT from - where the server listens for incoming requests. I run a Gatsby website, so for me, it was gatsby develop -host 0.0.0.0, which runs the server that listens on the 8000 port. If you’re running a Rails app, the port is usually 3000, and you can access your app in the □ In my case, I had to bind the server to 0.0.0.0. Great, now that we got our computer’s local IP address, we need to run our app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |