DEV Community

Cover image for Browsing a localhost server from any device in your LAN

Browsing a localhost server from any device in your LAN

Fernando on March 02, 2020

For most of us, a local development server proves to be good enough to get our day to day coding done. Even mobile device displays can be tested qu...
Collapse
 
v6 profile image
🦄N B🛡

// , And for the rest of us, there's ngrok.

Collapse
 
yokotobe profile image
yokotobe

How different from using port forward at home router.

Collapse
 
fdocr profile image
Fernando

That’s right! I didn’t mention ngrok which is very feature rich, a great tool to look into as well.

Collapse
 
fdocr profile image
Fernando • Edited

I really couldn't remember why I hadn't made the switch to ngrok given how thorough it is. Had to give it another spin out of curiosity: Blown away again by how good it is, but also instantly reminded my ISP/geographic location makes it painful to use 😆

Thread Thread
 
v6 profile image
🦄N B🛡

// , Also, in my experience, most of your typical InfoSec guys with their heads still stuck in "defend the network perimeter" mindset are going to look at ngrok tunnels like they're the unholy spawn of Coronavirus and AIDS.

Thread Thread
 
asto profile image
astodev

It's like if you were traveling in a boat and punched a hole in the bottom because you wanted to go for a swim.

Collapse
 
andrewleontev profile image
Andrey Leontev

For lan you can set up nginx

Some comments have been hidden by the post's author - find out more