Expose Your LocalHost To The World || Localtunnel

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys this is Ravinia welcome back to Naveen automation Labs with this video we are going to talk about one very important utility it's amazingly good you can expose your local web server to the entire world outside of your network the utility name is local tunnel it's a simple npm package you can just install this package and then expose your localhost server to anyone because sometime what happens let's see I'm running some web server or running my Jenkins in my local if I'm facing any issue and I really want to showcase it to you you cannot access my localhost right localhost colon 8080 you cannot access that because you are not in the same network and then what exactly I can do I can create one tunnel URL and then I'll give it to you then easily with that URL you can just easily access my Jenkins and then check that what exactly the issue I'm facing or if you really want to expose any web server work on any web designing work that you are doing and really want to showcase to the customer and the client in the form of demo or something you can easily do that it will be easy for them to quickly check and give you the feedback that okay yeah this is what that you're doing you don't need to expose it to some awsqa environment or something like this and then the and then the team or then the customer will look into it no you really want to quickly showcase that okay yeah this button is working fine or not or this feature are you really agree or not on that thing you can easily expose the local load server with the help of tunnel and then absolutely good to go with that so let's see how to do this so I'll do one thing that uh I quickly show you first of all uh this is a local channel you can just search it on Google and click on uh the link the first link here and here you can see that expose yourself to the world and if you see the local tunnel allows you to easily share a web service on your local development machine without messing with DNS and firewall settings if you really want to Quick Start it's an npm node.js package just copy this and then run it on your system so let's see how this is my terminal I'll run it with my sudo and then I'll just simply run it with this and you can just install it with the global so I'm writing uh okay so now see you can see that you have three packages quite lightweight and that's it after that I'll show you that on my system let's see this Jenkins is running on localhost uh 8080 so I show you the localhost 8080 on my system as well that this is localhost 8080 where my Jenkins server is running let me just log in here welcome to Jenkins and see this is localhost 8080 if I share this URL with my IP address also it will not be uh you cannot access that because it's my local obviously it's available and only for my network same thing that if I run any service Also let's see any web server that I'm going to open for example I'm going to open one web report so let me just do one thing let me open one Lao report here and see this is the lur web server is running it's running again in my localhost this is my local IP address I'm running on this particular port number where index.html file is available there and same thing you can just see here that the web server is running locally here okay now I really want to expose this I really want to showcase this particular report to you so with this URL obviously you cannot access that so local tunnel says once you install it you just need to expose this LP hyphen iPhone Port so I'm going to use LT lets me write it over here so let me write simple LT hyphen hyphen port and you just need to give the port number so for example let's see my port number for uh this particular lir server is uh four double nine three nine I just need to expose this and that's it and then press enter and then see it will give you the tunnel URL this is your url now you copy this URL and share it with anyone they will easily be accessed to this particular web server or web report here so for example just to check that I'll do one thing I'll open a new incognito mode and I'll check this URL am I able to access my earlier report or not so first of all that it's saying that a friendly reminder and all those things and the server wire a local channel okay press proceed uh with question okay let's click on continue and when you click on continue you can see that my earlier report will be exist over here you can see that the report title is getting changed and then it will be slightly slow obviously it's um getting created by a tunnel or getting access wire tunnel but when you access that my report and everything will be displayed over here in some time here you can see the entire report is there and this is not uh this is not my localhost or local IP address you can easily expose this and then after that absolutely good to go once your work is done what you do you simply uh come back here and press Ctrl C to terminate that see I'm going to press Ctrl C and then that's it now the URL is no more available if someone is trying to access this URL later on it will be gone sometimes and then you can just simple check it here that is one it's saying four zero four not found error okay now let's expose Jenkins Also let's see the Jenkins running on port number 8080 so again I'll create a new URL for Jenkins LT hyphen hyphen port number 8080 and uh on port number 8080 Jenkins is running let's see if I really want to share my Jenkins with someone else then again open that in the new incognito mode or you can just try in your phone or in any other system which is not in the same network and then you try that so see this uh now Jenkins is unable to run it I'm unable to access that I just need to enter my username password but yes Jenkins is available here okay anyways but you can see that yeah I'm able to access that okay so yeah this is absolutely working fine so with this thing you can easily share your work and expose your uh local work to the entire world this is the main thing that expose yourself to the world and that's it it's pretty lightweight just install this npm library and then expose the port number and then you are absolutely good to go with that that's all for this video I hope you like it please share this video with others let me know in case of issues and please subscribe to the channel to get more updates about such kind of utilities and new and new tools available in the market thank you so much
Info
Channel: Naveen AutomationLabs
Views: 17,870
Rating: undefined out of 5
Keywords: localtunnel, expose localhost to web, expose localhost to wifi, expose localhost to internet, expose local server to internet, expose local services to the internet, localhost tunnel, localhost tunnel free, localhost tunnel npm, naveen automationlabs
Id: B5SBxbS4ObU
Channel Id: undefined
Length: 6min 19sec (379 seconds)
Published: Mon Mar 06 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.