DEV Community

Discussion on: ngrok - Expose Your LOCAL WEB Server to PUBLIC Internet (complete guide with Video) 📹

Collapse
 
crimsonmed profile image
Médéric Burlet

From a security perspective I would not recommend that though. If you need to show it to someone better to make a docker container and run it on a free server on the web or share the container.

Collapse
 
mirrorbytes profile image
Bob

I don't understand how this service was even considered a good idea... this is like bugging your own house, except worse.

Collapse
 
destro_mas profile image
Shahjada Talukdar

I agree with your point!
As I already mentioned in another comment - "no one should run ngrok in their machine for more than a few mins."

Collapse
 
destro_mas profile image
Shahjada Talukdar • Edited

I Fully agree from the Security Point of View.
If you compare this to a Real Cloud Server, then definitely the cloud one will take the slot.
This was created to LEARN/KNOW about a backup plan!
I also prefer a cloud server first.

Collapse
 
crimsonmed profile image
Médéric Burlet

IMO this should never be done. You're exposing your filesystem to the Web and that's pretty if not very dangerous. Specially using a piece of software not following vest security practices.

There are many alternatives to webserver such as static hosting with s3 and more all free.

Thread Thread
 
destro_mas profile image
Shahjada Talukdar

Yeah, for sure.
I would also never use ngrok in any serious work.

Collapse
 
destro_mas profile image
Shahjada Talukdar

Heroku is pretty good and easy.

I also created videos on how to use Heroku

Collapse
 
shaijut profile image
Shaiju T • Edited

Nice 😄, but which company gives free server to run docker forever ?

Collapse
 
crimsonmed profile image
Médéric Burlet

Many ways other than docker like s3 buckets free for 1 year to 3 year with AWS.

Ec2 which can run docker have free one year as well then you can create new account with automation.

Heroku there's a few tricks as well to get unlimited.

And the goal from article was to show someone something. If you are now even thinking wo let this run on your main pc at home on your home network and for more than a year then I guess you brush up on security because that would end up as one of the worst example of Web server setup.

Thread Thread
 
destro_mas profile image
Shahjada Talukdar

I like Heroku a lot.
It's so easy for deploying your app quickly in a few minutes.

And yeah, as you said, no one should run ngrok in their machine for more than a few mins.