How to open localhost in your mobile?

  Рет қаралды 71,166

Anurag Singh ProCodrr

2 жыл бұрын

Note: If it is a Vite server then go to package.json file and find the line where "dev": "vite" script is written and change it to "dev": "vite --host"'
Complete Frontend Course Playlist: kzbin.info/www/bejne/nJSVkquKgNJnptU
HTML in One Shot: kzbin.info/www/bejne/Y3jKgX1mgMSef9k
CSS Zero to Advaced Playlist: kzbin.info/www/bejne/Y6Cok3SjiMaqbck
The Complete JavaScript Course Playlist: kzbin.info/www/bejne/b4GcmWiebtB1o7c
While doing development in our local system sometimes we want to open our localhost in our actual mobile phone. In this video I have explained how to do exactly that.
You can ask your doubts in comment section or you can reach out to me directly on my social media handles mentioned below.
Social Media
🌐 Linkedin: www.linkedin.com/in/anurag-singh-web-developer/
🌐 Instagram: procodrr
🌐 Twitter: anuragsinghbam
🌐 Telegram: t.me/+bq8CBsPL3Wc1MjU1
🌐 Discord: discord.gg/dMe9mer9B3
🌐 Portfolio: anuragsinghbam.com/

Пікірлер: 166
@procodrr
@procodrr Жыл бұрын
Note: If it is a Vite server then go to package.json file and find the line where "dev": "vite" script is written and change it to "dev": "vite --host"' Complete Web Development Course in Hindi (100% Free): kzbin.info/www/bejne/nJSVkquKgNJnptU
@61_ketansondarva5
@61_ketansondarva5 9 ай бұрын
Thank you sir, it is working.
@parindax
@parindax 6 ай бұрын
Sir how to do please tell me
@iamginza
@iamginza 3 ай бұрын
You saved my day, thanks.
@RameshMaity90
@RameshMaity90 2 ай бұрын
@procodrr package.json nahi mil raha
@SQLprojects
@SQLprojects 7 ай бұрын
Its not working. Whenever I put the ip address in the phone. It is taking too long and gives an error to check internet connection although both the devices are connected on the same wifi. My server is not vite and I am running it on my own laptop.
@sargam-d6t
@sargam-d6t 6 ай бұрын
same issue did you find the solution? if yes pls tell
@mah_tech
@mah_tech 5 ай бұрын
Here's also same issue brother. Please tell us how to fix it. In my old laptop it will work profectly but, now i've change my laptop the local host on mobile screen is not working
@socialhelp2100
@socialhelp2100 2 ай бұрын
Same error bro ​@@sargam-d6t
@bishalkumarshaw2789
@bishalkumarshaw2789 4 ай бұрын
Aapne jo bataya wo to maine nahi kiya but aapke iss video se mereko pata chal gaya ki main kahan galti kar raha tha .... Mera private network off tha isliye nahi khul raha tha ... When ON it it worked ... Main bahot din se paresan tha this video helped in me in someway. Thank you so much sir ❤❤❤❤❤
@RITESHTIWARI-wk3mx
@RITESHTIWARI-wk3mx 7 ай бұрын
mene apne phone par localhost ko chalu kar liya but mene jo apne website par icon dale hai wo mere phone me show nhi kar rahe hai leptop par show ho rahe hai but phone par nhi plz help
@satisfaction6891
@satisfaction6891 Ай бұрын
mine vite is working but not fetching anything from express backend even though i have applied all correct cors policies
@GauriTamang-ok1hk
@GauriTamang-ok1hk 4 ай бұрын
after watching countless You Tube videos with no success, i found your explanation to be the one that finally worked ! thank you so much for creating such an awesome tutorial .
@vrajpatel0218
@vrajpatel0218 Жыл бұрын
thanks bro ,, but is setting se leptop pe kuch asar nahi honga na
@procodrr
@procodrr Жыл бұрын
Kuchh nahi hota, tension mat lo.
@vrajpatel0218
@vrajpatel0218 Жыл бұрын
thanks bro 😎😎😎😎@@procodrr
@teamfirerajasthan6487
@teamfirerajasthan6487 6 ай бұрын
Sir ek help chahiye thi me apne PC ka side jo surver se. Canect hai wo phone me access kese Karu
@socialhelp2100
@socialhelp2100 2 ай бұрын
Bhai par mera nhi chal rha..q ? Jabki mera server amera dusra PC acces kar rha h.. mene sab firewall off kar diye fir v mobile me Url Open nhi ho rha...
@hemavathi.l
@hemavathi.l 8 ай бұрын
I am doing the vs code in phone it self can we use phone ipadress and open it in phone chrome only I am trying since along
@procodrr
@procodrr 8 ай бұрын
How you are using VS Code in mobile?
@ghost-qp6yh
@ghost-qp6yh 7 ай бұрын
are you using browser for vsCode with help of termux🤔 or any other apk if yes then please give me that link
@chotuprajapat896
@chotuprajapat896 9 ай бұрын
Mere laptop mai yeh kaam nhi kar raha hai kya karu ? or mere browser mai ip add nhi dikha raha hai upper. anyone can help me
@procodrr
@procodrr 9 ай бұрын
Kya tum Vite use kar rahe ho localhost server ke liye?
@chotuprajapat896
@chotuprajapat896 9 ай бұрын
Nhi, mai live server use kar raha hu. Error : open a folder or workspace. (file -> open folder). Yeh wala bata raha hai. Kya karu.
@procodrr
@procodrr 9 ай бұрын
Matlab live server hi nahi start ho raha hai?
@chotuprajapat896
@chotuprajapat896 9 ай бұрын
Haaan
@procodrr
@procodrr 9 ай бұрын
Ye to dusra issue hai. Google par search Karo ye error.
@Amanकुमार-y4m
@Amanकुमार-y4m 11 ай бұрын
Thankyou sir I was trying this thin very long and tired to watch the video from KZbin how live our website but any idea was not warked But your Idea is worked sir thankyou so much ❤😊😊❤
@procodrr
@procodrr 11 ай бұрын
I am glad to hear that this worked for you. If you want to learn more about Web Development then explore the channel, you'll love the content.
@dnagamer8845
@dnagamer8845 Жыл бұрын
Mera wifi ka ip address alag hay aur cmd may alag ip address dikha raha hay
@procodrr
@procodrr Жыл бұрын
t.me/procodrr Ye wala Telegram group join karke apne questions screenshot ke saath phoochho, dekhte hain kya dikkat hai
@divyanshudhruv
@divyanshudhruv 15 күн бұрын
Thankyou sir. The steps provided were actually helpfull
@avdhutnula9675
@avdhutnula9675 Ай бұрын
I am using Vite Server, how can we apply this process on Vite?
@procodrr
@procodrr Ай бұрын
Check pinned comment.
@Engineering_Unlocked
@Engineering_Unlocked 9 ай бұрын
brother I dont know why it ia not working I have followed all the steps
@procodrr
@procodrr 9 ай бұрын
Is it a vite server?
@Engineering_Unlocked
@Engineering_Unlocked 9 ай бұрын
@@procodrr may I know what is vite server brother , I have a jio fibre from which my phone and laptop are connected
@procodrr
@procodrr 9 ай бұрын
I mean how are you running your localhost server?
@chaurasiyaenterprises
@chaurasiyaenterprises 2 ай бұрын
kya ye php (wamp server) ke liye bhi kaam karega? please answer
@velanthevar2459
@velanthevar2459 2 ай бұрын
How can i do same for a full stack website
@faizanshaikh0103
@faizanshaikh0103 Жыл бұрын
angular website bhi kar sakte hai kya?
@procodrr
@procodrr Жыл бұрын
Haa
@optimizetech857
@optimizetech857 Жыл бұрын
Areee sir badi maharbani app ki apke charan kha hai itna dhunda tab aap mile
@procodrr
@procodrr Жыл бұрын
Tum mujhe hi dhoond rahe the? 😀
@optimizetech857
@optimizetech857 Жыл бұрын
Ha bhai
@sonumondal7798
@sonumondal7798 4 ай бұрын
Not working.. I tried all the method
@yashu1703
@yashu1703 Жыл бұрын
Defender public off kiya to warnings dikha raha security ki...koi security issue to nhi hoga n
@procodrr
@procodrr Жыл бұрын
Koi issue nahi hoga
@yashu1703
@yashu1703 Жыл бұрын
@@procodrr thik hai bhai thanks 🙏
@dhuravkumar4436
@dhuravkumar4436 7 ай бұрын
sir angular ka project kis tarah se open kare ge
@bpsc_computer_teacher_2024
@bpsc_computer_teacher_2024 Жыл бұрын
ye php page k liye v hoga?
@procodrr
@procodrr Жыл бұрын
Haa, kisi bhi localhost server ke liye ye kaam karega
@rahulsbytes
@rahulsbytes 5 ай бұрын
What to do if our server i srunning in wsl (linux).
@mrrobot4504
@mrrobot4504 9 ай бұрын
Not working 😢 plz help me
@procodrr
@procodrr 9 ай бұрын
Is it a vite server?
@mrrobot4504
@mrrobot4504 9 ай бұрын
@@procodrr no am doing in my personal laptop
@procodrr
@procodrr 9 ай бұрын
How are you running the localhost?
@mrrobot4504
@mrrobot4504 9 ай бұрын
@@procodrr ip4 address + : + port number I watch many video on KZbin but it not getting
@abhinavsinghtomar110
@abhinavsinghtomar110 6 ай бұрын
It works, thank you!
@saikumargatla4706
@saikumargatla4706 3 ай бұрын
Great content Anurag Bhai ❤
@MrSudnu
@MrSudnu 8 ай бұрын
broo bohot video dekha kuscvi nahi hua lekin tumhara video dekha too hoo gaya thank you vai love from assam
@procodrr
@procodrr 8 ай бұрын
I'm glad that it worked. Keep learning and sharing 😊
@ajilkreji5133
@ajilkreji5133 8 ай бұрын
backends not working how solve that
@procodrr
@procodrr 8 ай бұрын
In which technology your backend is?
@bharathvakamulla9895
@bharathvakamulla9895 Жыл бұрын
thank you so much it working as expected
@procodrr
@procodrr Жыл бұрын
Awesome, keep learning and sharing 😊
@bharathvakamulla9895
@bharathvakamulla9895 Жыл бұрын
​@@procodrr aslo subscribed 🎉keep upload help ful vlogs thank you sir
@officialshiva-q1w
@officialshiva-q1w Жыл бұрын
Worked Thanks brother!!
@procodrr
@procodrr Жыл бұрын
Awesome, keep learning and sharing 😊
@faizelahi4147
@faizelahi4147 2 жыл бұрын
Bahut hi acche se bataya hai aap ne
@procodrr
@procodrr 2 жыл бұрын
Thanks bro
@razorjhon2622
@razorjhon2622 Жыл бұрын
wow this actually worked , i never thought this would work , thank you so much
@procodrr
@procodrr Жыл бұрын
Awesome, if you want to learn more about Web Development explore the channel.
@malikahmadprince287
@malikahmadprince287 4 ай бұрын
sir is it runs php files code also ??
@procodrr
@procodrr 4 ай бұрын
Yes
@malikahmadprince287
@malikahmadprince287 4 ай бұрын
@@procodrr how sir ?
@ShameenSultana-c4u
@ShameenSultana-c4u Ай бұрын
Well done Sir
@mohamedtonsy5882
@mohamedtonsy5882 Жыл бұрын
Why 3000 in the end of IP address
@procodrr
@procodrr Жыл бұрын
That port number. It can be anything but 3000 is very common.
@AdarshSingh-ze1yg
@AdarshSingh-ze1yg 2 жыл бұрын
Thanks that was of great help
@procodrr
@procodrr 2 жыл бұрын
I'm glad that it helped.
@СергейНадоенко
@СергейНадоенко 5 ай бұрын
what is the language?
@chetanreddy6128
@chetanreddy6128 Жыл бұрын
Thanks its worked!
@procodrr
@procodrr Жыл бұрын
Awesome, keep learning and sharing 😊
@Alberto-ji9ql
@Alberto-ji9ql 8 ай бұрын
ON LINUX??
@procodrr
@procodrr 8 ай бұрын
I don't know about that. You have to do research yourself.
@Alberto-ji9ql
@Alberto-ji9ql 8 ай бұрын
@@procodrr thank you bro, good video
@PAFBEAST
@PAFBEAST 7 ай бұрын
Tell me when you find out ​@@Alberto-ji9ql
@12amlyricsz
@12amlyricsz 5 ай бұрын
First Use IPv4 adress and after collon use the port at which you listen on your express or any server then it's work
@jamshaidmalik463
@jamshaidmalik463 20 күн бұрын
informative video bro keep it up
@ivanbengcolado5075
@ivanbengcolado5075 11 ай бұрын
It's not working to me
@procodrr
@procodrr 11 ай бұрын
Are you using office laptop?
@saqlainashrafkhan2379
@saqlainashrafkhan2379 11 ай бұрын
@@procodrr yesss
@procodrr
@procodrr 11 ай бұрын
Office laptop mein bahut saari restrictions hoti hain, isliye nahi chal Raha hoga.
@saqlainashrafkhan2379
@saqlainashrafkhan2379 11 ай бұрын
@@procodrr yes.. but what's the solution?
@procodrr
@procodrr 11 ай бұрын
Ek baar normal laptop mein try karo, aur phir office ke IT team ko batao ki tumhe Aisa karna hai, to wahi log fix kar sakte hain isko.
@danieljsadananda2163
@danieljsadananda2163 8 ай бұрын
Thank you,it worked
@dheerajsingh8409
@dheerajsingh8409 3 ай бұрын
Not working sir
@Sanjeetkumar-ir7zs
@Sanjeetkumar-ir7zs Жыл бұрын
Thanku, it worked
@procodrr
@procodrr Жыл бұрын
I'm glad it helped. If you want to learn more about Web Development then explore the channel you'll find really amazing content related to Web Development and JavaScript.
@Sanjeetkumar-ir7zs
@Sanjeetkumar-ir7zs Жыл бұрын
sure, I will@@procodrr
@ayesha24237
@ayesha24237 4 ай бұрын
It's worked thankyou
@surajmane4553
@surajmane4553 8 ай бұрын
great its working Thanks
@zeke2269
@zeke2269 6 ай бұрын
Too good thanks❤
@AfzaalKhalid-ox3pw
@AfzaalKhalid-ox3pw 27 күн бұрын
Not working
@unevengamer5365
@unevengamer5365 Жыл бұрын
Bro mera nhi khul raha
@procodrr
@procodrr Жыл бұрын
Office ka laptop hai kya?
@procodrr
@procodrr 10 ай бұрын
Kya tum Vite server use kar rahe ho?
@chinomnsodaniel7234
@chinomnsodaniel7234 Жыл бұрын
Thank you so much
@procodrr
@procodrr Жыл бұрын
Awesome 👍
@rsmcoder
@rsmcoder Жыл бұрын
thank you brother🥰🥰🥰🥰😍
@procodrr
@procodrr Жыл бұрын
Awesome, keep learning and sharing 😊
@mohdshoaib5877
@mohdshoaib5877 11 ай бұрын
I am getting this site cant be reached any help
@procodrr
@procodrr 11 ай бұрын
You can join the Telegram group and ask your doubt with screenshot of all the steps that you've done. t.me/procodrr
@Shkkmj6868
@Shkkmj6868 9 ай бұрын
Thanks a lot
@procodrr
@procodrr 9 ай бұрын
I'm glad it was helpful 😊
@sushantvasurkar9179
@sushantvasurkar9179 Жыл бұрын
thanks bhai.
@procodrr
@procodrr Жыл бұрын
I'm glad it was helpful. If you want to learn more about Web Development then explore the channel. Keep learning and sharing 😊
@ardentcoder
@ardentcoder 6 ай бұрын
Really good ❤ I'm happy
@amit-jx5lh
@amit-jx5lh 5 ай бұрын
Thanks man, I did it.
@softmedun6794
@softmedun6794 4 ай бұрын
Tnk u bhaiya 😊
@Aashutosh798
@Aashutosh798 9 ай бұрын
Thank You Bhaiyya 😭😭😭😭😭😭😭😭😭
@WebDevUniverse
@WebDevUniverse Жыл бұрын
bhai thanks ❤
@procodrr
@procodrr Жыл бұрын
Awesome bro, I'm glad it was helpful. Keep Learning and Sharing 😊
@RakeshKumar-mt9fv
@RakeshKumar-mt9fv 10 ай бұрын
Thankyou bro
@procodrr
@procodrr 10 ай бұрын
Awesome, keep learning and sharing 😊
@RakeshKumar-mt9fv
@RakeshKumar-mt9fv 8 ай бұрын
@@procodrr ❤️
@BOSS55
@BOSS55 Жыл бұрын
gulabi dillll
@procodrr
@procodrr Жыл бұрын
laal dillll
@abdulraqeeb5054
@abdulraqeeb5054 8 ай бұрын
Thanks alot sir
@felix_72
@felix_72 Жыл бұрын
Thanks bro
@procodrr
@procodrr Жыл бұрын
❤️
@KrishanaChauhan-tr7cr
@KrishanaChauhan-tr7cr 11 ай бұрын
thank brother
@procodrr
@procodrr 11 ай бұрын
Awesome, keep learning and sharing 😊
@Tusher-pall
@Tusher-pall Ай бұрын
thank you this work
@Chillishop
@Chillishop 5 ай бұрын
❤️❤️❤️
@mrunknown_811
@mrunknown_811 2 ай бұрын
thank you so much bhai
@tgrpolai
@tgrpolai 9 ай бұрын
Sir nextjs padhye
@Dark-ig7ce
@Dark-ig7ce 10 ай бұрын
thanks
@l-_._-l
@l-_._-l 7 ай бұрын
Thank you
@underworld-of-gaming
@underworld-of-gaming Жыл бұрын
thankq
@procodrr
@procodrr Жыл бұрын
❤️
@frajola_br
@frajola_br 10 ай бұрын
dont working
@procodrr
@procodrr 10 ай бұрын
Are you using office laptop?
@procodrr
@procodrr 10 ай бұрын
Is it a Vite Server?
@procodrr
@procodrr 10 ай бұрын
@@vidhanjain9049 in package.json file go to the line where "dev": "vite" script is written and change it to "dev": "vite --host" simply add --host after vite. Note: It is double dash host not single dash.
@satheeshsathi7439
@satheeshsathi7439 9 ай бұрын
Sir how to run different internet with different mobile at time?
@satheeshsathi7439
@satheeshsathi7439 9 ай бұрын
Sir how to code run localhost device to defferent wifi in phone?
@HQYT1
@HQYT1 8 ай бұрын
thanks
@akashranjan3756
@akashranjan3756 Жыл бұрын
thanku
@procodrr
@procodrr Жыл бұрын
I'm glad it was helpful. Explore the channel for awesome content related to Web Development 😊
@tripicalgaming6360
@tripicalgaming6360 2 ай бұрын
Thanx bro🎉
@anyhowsolutions
@anyhowsolutions 6 ай бұрын
Thabk you brother
@harshtripathi9215
@harshtripathi9215 6 ай бұрын
Thanks bro
@mtrvansh
@mtrvansh 7 ай бұрын
Thanks bhai
@Gourav-511
@Gourav-511 6 ай бұрын
Thank u bhai
@davidjonson303
@davidjonson303 Ай бұрын
Thanks
@vrajpatel0218
@vrajpatel0218 Жыл бұрын
thankyou bro
@IrfanOPC
@IrfanOPC 5 ай бұрын
thanks
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 30 МЛН
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 4 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 24 МЛН
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 30 МЛН