Video není dostupné.
Omlouváme se.

How to test a local website on your phone

Sdílet
Vložit
  • čas přidán 19. 08. 2024
  • How to fix "This site can't be reached" error -- 04:37
    🔥 Learn how to build a responsive website from a Figma design with HTML, SCSS, JS ➡️ coder-coder.co...
    😎 Join the Coder Coder Club and get sneak peeks of videos: courses.coder-...
    👕 Get my hoodie here: coder-coder.co...
    💻 Become a full-stack web dev with Zero to Mastery: academy.zeroto...
    🎨 Get my VS Code theme: marketplace.vi...
    🔽 FOLLOW CODER CODER
    Twitter -- / thecodercoder
    Instagram -- / thecodercoder
    #css #javascript #html

Komentáře • 586

  • @2u841r
    @2u841r Před 4 měsíci +5

    in vite, you should write npm run dev -- --host
    (instead of only npm run dev, add double hyphen space then --host )
    so you can visit in mobile / local network.

  • @matetheking
    @matetheking Před rokem +41

    I love your straightforward approach to explaining the content, some people seem to be more interested in speaking than teaching. Great job. Thank you!!

  • @just_O
    @just_O Před 10 měsíci +8

    This is THE MOST useful tutorial on CZcams. Period

  • @voidtracer2397
    @voidtracer2397 Před 10 měsíci +8

    This right here might be one of the most handy video I've seen so far as a junior. Thanks!!

  • @DominicNweze
    @DominicNweze Před rokem +3

    I've been looking for how to do this for months.
    Cause mine always showed that error.
    God bless you lady. 😘
    Many people dont even bother teaching their viewers how tondo it asif they dont know that people are beginners in all these. Tech things.
    Thanks.
    Now I can share my site for testing with my friends.

  • @SurajSingh-hl3gc
    @SurajSingh-hl3gc Před rokem +2

    I've been scratching my head for days to put website on my local network. Thank you so much for this video.

  • @bassfishin91
    @bassfishin91 Před rokem +123

    I use ngrok for all my testing. Great way as well!

  • @personalgamedevyt9830
    @personalgamedevyt9830 Před rokem +26

    Wow, really simple but very very useful. Thank you for the clear, concise explanation.

  • @santosh_rawat
    @santosh_rawat Před 10 měsíci +2

    The one who is facing same problem after all the steps...
    Maybe your wifi network is selected as public network in wifi settings , change it to private
    It worked for me ✨️

  • @peteremad5228
    @peteremad5228 Před rokem +1

    i had the "this site is unreachable " problem and i searched the internet and i couldn't find any solution ...that was really helpfull vedio for me thanks

  • @samadeniji
    @samadeniji Před rokem +3

    Wow!!!! This is super helpful. Thank you! I love the fact that I can see my website in real-time on my MacBook, iPad and iPhone. I also love that I don't have to refresh to see the changes. Subscribed.

  • @darianzuvic5390
    @darianzuvic5390 Před rokem +31

    Amazing content, very concise and perfectly clear.

  • @Mr.Yaqoobi
    @Mr.Yaqoobi Před 12 dny

    Thank you so much for this amazing video! It was incredibly helpful and made everything so much clearer. Your explanations are always on point. Keep up the great work!

  • @fuzzy-02
    @fuzzy-02 Před 10 měsíci +1

    I already studied all of this in a networking course, but I somehow forgot it all.
    Watching your video when I was wondering about how to answer this specific question, I felt kinda stupid because of how obvious it is for someone who should supposedly know how networks work...
    Thank you

  • @electricity2703
    @electricity2703 Před 4 dny

    One of the best useful tutorial I have ever seen. Thank you 🙂

  • @mattlaws6157
    @mattlaws6157 Před rokem +6

    Great timing Coder Coder. I was going to research a solution for this problem. You’ve saved me lots of time. Thanks for sharing.

  • @wayneswildworld
    @wayneswildworld Před rokem +1

    There are people downloading sketchy and not super secure softwares. In order to do this, excellent video!

  • @djlclopez128
    @djlclopez128 Před 2 měsíci

    Thank you for this tutorial, this was the first time I did this! Note for anyone using their phone as a hotspot: it doesn't work if you tey to load the website on the same phone you are using as your internet source. But! I am still learning so maybe it is possible somehow? You have to have your computer and phone both connected to the same wifi source.

  • @aryamukherjee434
    @aryamukherjee434 Před měsícem

    Finally got the solution to this site cannot be reached

  • @nichobeastmode8361
    @nichobeastmode8361 Před 7 měsíci

    thanks to this, I was able to get my website looking perfect for mobile devices in no time! This trick was a life saver.

  • @TinyMaths
    @TinyMaths Před rokem +1

    Thank you this is a great solution that I've only found out about recently. I tried to use virtual android but my PC isn't that powerful enough so the vitual phone tends to hang. Now this method is so much faster using my own phone to view the apps I'm trying to format for mobile.

  • @pazir_r
    @pazir_r Před 10 měsíci

    wow, with another pc, laptop, tablet, smart phone. You are amazing! Thank you!

  • @duncan51
    @duncan51 Před rokem +2

    Nicely done! This was super helpful. Cool Steam Deck btw!

  • @thewlabs
    @thewlabs Před rokem

    Miss your content so much ! Finally !😍

  • @mujupaul3760
    @mujupaul3760 Před 5 dny

    Please, there's a cool animation on your website I would really like to learn. That unicorn throwing some stars.

  • @lyraasim4677
    @lyraasim4677 Před rokem

    My Number 1 inspiration here in youtube. Hoping to be just like you in the future :) sending love from Philippines.

  • @abagatelle
    @abagatelle Před rokem +1

    Very helpful, works a treat on iPhone and iPad with VSCode running in Linux on an ancient old laptop. Thanks very much!

    • @CarlaLopez-hw4kj
      @CarlaLopez-hw4kj Před 10 měsíci +2

      how did you do it for mac? i used ipconfig getifaddr en0 and then opened the ip adress on phone/ipad and it isnt working

  • @TohTomajohs
    @TohTomajohs Před 3 měsíci +2

    Now show me how to test my site at the theatre

    • @jumah_tj
      @jumah_tj Před 2 měsíci

      💀 man's on a mission to create the world's best site

    • @TohTomajohs
      @TohTomajohs Před 2 měsíci

      @@jumah_tj I just want to be able to use my site on my other phone. But I pay someone else money for that apparently

    • @TohTomajohs
      @TohTomajohs Před 2 měsíci

      @@jumah_tj idk what site your referring to

  • @prakritimukherjee6562
    @prakritimukherjee6562 Před 3 měsíci

    I am learning coding...And this was so helpful. Thank you so much. Super useful!!!

  • @archiem6323
    @archiem6323 Před rokem +1

    🤠 You are always bringing great content!😃 Jessica the greatest!!!🥳🥳💛💛

  • @leticiaqueirozcarvalho2367
    @leticiaqueirozcarvalho2367 Před 9 měsíci +1

    Amazing, thank you! Very straight forward and well explained.

  • @ashwniuikey678
    @ashwniuikey678 Před rokem

    Hello i am Web developer I have a 5 years experience in wordpress, node js, React js development

  • @De-Coder1.0.0
    @De-Coder1.0.0 Před rokem

    Thank you very very much for this little hack because it helps so much. My browser side of mobile development was not actually showing me how the website would look on a smaller screen. Now I can see it without deploying on both of my screens on an android and an iPhone thank you so much.

  • @programingworld5183
    @programingworld5183 Před rokem

    Thank You for uploading this video. It saves my life in web development

  • @zakariyyamulla6635
    @zakariyyamulla6635 Před rokem

    thanks to you ma'am now I can test my website in my phone I was trying same procedure before but unable to get any results because of errors you mentioned but I followed your instructions and bravo I got it

  • @mousharyamakwana4843
    @mousharyamakwana4843 Před 3 měsíci

    Thank u i found many errors about sizing that i didn't knew

  • @umarahmad3705
    @umarahmad3705 Před rokem

    What the!!! It worked!!!!.... You just made my life a whole lot easier...

  • @gaminglegendz1517
    @gaminglegendz1517 Před rokem +1

    Thanks a lot!

  • @anujmishra373
    @anujmishra373 Před rokem +1

    Thank you so much, it worked ❤

  • @PranjalChaurasiya-z1e
    @PranjalChaurasiya-z1e Před 20 dny

    Hey thanks for this detailed content.
    Helpful for me.

  • @NK-hv9zt
    @NK-hv9zt Před 7 měsíci

    Amazing information which hardly anyone was knowing

  • @privatesoul
    @privatesoul Před rokem

    Always comes up with great content.
    Just cool stuffs. 😎

  • @PicyPoe
    @PicyPoe Před rokem

    Finally you are back!

  • @suvrotica
    @suvrotica Před rokem +7

    This was very helpful. You are really doing it right. Thanks a whole bunch.

  • @anisdz6618
    @anisdz6618 Před rokem +7

    Thanks a lot, really appreciate all the hard work you put in these lessons. Clear and straight to the point

  • @MichaelShingo
    @MichaelShingo Před 8 měsíci

    works amazing, thanks helped me troubleshoot my mobile layout

  • @garudacasasena5736
    @garudacasasena5736 Před rokem

    OMG I REALY NEED THIS AND IT'S WORK THANK YOU FOR THIS INFO,APPRECIATE IT

  • @iamsachin619
    @iamsachin619 Před rokem

    Thankyou for such a good explanation, this eill come very useful for most of web devs. Also you are look so cute!

  • @lauris5275
    @lauris5275 Před rokem

    I been learning for quite some time. And didnt know that you can connect with phone that easy... Ty. xD

  • @BonesD23
    @BonesD23 Před 10 měsíci

    I been using the Live Server For I while, and I never thought on testing this way, Well thanks for the information.

  • @davidgaiakano9747
    @davidgaiakano9747 Před 10 měsíci

    Thanks for the helpful tip for finding the ip address to use to connect with my phone. I wasn't sure it was going to work, because my laptop is on a hotspot on the same phone I wanted to use, but it did!

  • @justamongus7541
    @justamongus7541 Před rokem

    Good to see your beautiful face my girl is getting on pace 🤩.keep posting more frequently.

  • @abin007
    @abin007 Před 10 měsíci

    Thank you verymuch , i spend many days checking for the way to view in my device without downloading the whole code

  • @cristianosdehoy
    @cristianosdehoy Před 16 dny

    Thank God! this work for me as soon as did it!

  • @monara97
    @monara97 Před rokem

    On mac: Option + Click the wifi icon in status bar
    Great video!

  • @nnivxix
    @nnivxix Před rokem

    04:37 thank you very much, now i can access my localhost on my Android.

  • @ayushgupta137
    @ayushgupta137 Před rokem

    Really i was in urgent need of the same thing and this video completely helped me. Thank you so much for this video.

  • @olopadev6306
    @olopadev6306 Před rokem

    wow, amazing... You are always bringing great content! Thanks!!!

  • @matthiasdennerlein3817
    @matthiasdennerlein3817 Před 6 měsíci

    Thank you. Its so usefull. I wished me that in my last editor and was very blessed when I saw it right now. Pretty cool. Last but not least I am a big Fan of your funny faces. You are awesome. Peace & Love from Germany.

  • @joweldas1829
    @joweldas1829 Před 6 měsíci

    this is very helpful video that i was looking for many times ❤

  • @kasumbaemmanuel9336
    @kasumbaemmanuel9336 Před rokem +2

    How about if I use my phone for hotspot

  • @cutecode324
    @cutecode324 Před rokem

    Wow Amazing, Thank you for sharing Coder

  • @aswinkumar60
    @aswinkumar60 Před 11 měsíci

    For those who using REACT-VITE
    update package.json file's "script" object.
    "scripts": {
    "dev": "vite --host",
    (rest same)
    }
    Type 'npm run dev' command on terminal.
    Now a new link will be available which can be used on any device connected on same network.
    Enjoy😇

  • @randomweins4894
    @randomweins4894 Před rokem

    Super Simple Dev, cool works!👍

  • @ivikiwi06
    @ivikiwi06 Před 7 měsíci

    you saved me with your windows firewall tip. Thank you very much!

  • @kishoreandra
    @kishoreandra Před rokem

    Thanks Jess, A react app when run by npm start or npm dev start or w/e it shows the address On Your Network, copy paste enjoy

  • @johnmarklecias938
    @johnmarklecias938 Před 10 měsíci

    a million thanks! this helped me a lot!

  • @joshuaberrios
    @joshuaberrios Před rokem +4

    Wow! This is a life-saving tutorial. Thank you so much for producing this video.

    • @Samuel01477
      @Samuel01477 Před rokem

      ​@dheerajEdits same here, it refuses to show my images even after getting the whole images into the same HTML File, i'm stuck

  • @fahad_2519
    @fahad_2519 Před rokem +1

    This is so much helpful. Thank you very much.

  • @animaxlotoffunanime9117
    @animaxlotoffunanime9117 Před 4 měsíci +1

    Thanks for help ❤❤❤

  • @ahassan5
    @ahassan5 Před 4 měsíci

    You can use port forwarding on your router

  • @horizon6309
    @horizon6309 Před 11 měsíci

    Thank you for this. This will really come in handy for me.

  • @clayzz5695
    @clayzz5695 Před rokem

    This is legit, thanks! didn't found any issues yet 👌

  • @demicoderr
    @demicoderr Před rokem

    This has been really helpful! thanks a ton!

  • @hemantsharmachannel
    @hemantsharmachannel Před 8 měsíci

    you got a new suscriber , your trick was amazing

  • @chivicks_hazard
    @chivicks_hazard Před 10 měsíci

    I thank God I'm seeing this video.
    I'm gonna give this channel a subscribe

  • @vilashvarghese9942
    @vilashvarghese9942 Před 9 měsíci

    The new VS Code port forwarding feature should be able to address this problem during development phase itself.

  • @itsfoss5268
    @itsfoss5268 Před rokem

    Had really missed you Coder coder

  • @progmell
    @progmell Před rokem

    Thank u so much, It was completely easy to follow those instructions.

  • @hamidurrehman4995
    @hamidurrehman4995 Před rokem

    Thank you so much, I really needed this.

  • @ganeshdandale8301
    @ganeshdandale8301 Před rokem

    It worked, thank you for such useful content

  • @pedroasadei
    @pedroasadei Před rokem

    Thank you very much! This is gold

  • @ashutoshpatil6978
    @ashutoshpatil6978 Před 9 měsíci

    Love you mate. You Just saved my day .

  • @open-container550
    @open-container550 Před rokem

    Super cool! Such an amazing content

  • @drucifer6
    @drucifer6 Před rokem

    Love it, long gone are the days of using Ghostlab to test on multiple devices lol

  • @shadmanrashid9991
    @shadmanrashid9991 Před rokem

    thanks sis ...
    i was looking for this for a long time...

  • @vaibhavigawade7398
    @vaibhavigawade7398 Před 3 měsíci

    this was very helpful.. thank you

  • @MarcosLima-cs9cd
    @MarcosLima-cs9cd Před 5 měsíci

    Thank God is not another app to download😂 Perfect tutorial 👌 ✨️

  • @priyam857
    @priyam857 Před rokem

    Glad you posted something today, I was taken aback because Twitter is being shutting down. Twitter is a... website

  • @QuincyN
    @QuincyN Před rokem

    This is super helpful! Thanks!

  • @ninjanithin9048
    @ninjanithin9048 Před rokem

    Thankyou for your teaching this ,it's save lot of time and energy 😊❤❤

  • @kuyaemantech
    @kuyaemantech Před 2 dny

    You are awesome, it works ❤❤❤ thanks a lot ma'am..

  • @alliolarinde5252
    @alliolarinde5252 Před rokem

    wow, Amazing, it actually works, great job

  • @ronaldroll8134
    @ronaldroll8134 Před rokem

    Thanks a lot Ma'am It works on my phone.

  • @gklelei5163
    @gklelei5163 Před rokem +1

    Great job 💯 you are a life saver

  • @lordbobby198
    @lordbobby198 Před 24 dny

    Thanks a lot. It worked for me.

  • @mpelalidiko
    @mpelalidiko Před rokem

    thank you so much, really cool and useful material

  • @Himanshu-ow3ge
    @Himanshu-ow3ge Před rokem

    Thank you for this easy and quick tip

  • @mdkawsarislamyeasin4040

    Wow amazing, I need to know this.
    I searched for this kind of video some days ago.

  • @tesicaleksa6746
    @tesicaleksa6746 Před 6 měsíci

    Thanks. This means a lot.😘