Last Updated: October 12, 2018
·
426
· kanerogers

Accessing a locally hosted webserver

Instead of agonisingly typing out this:

http://127.0.0.1:3000

Try

http://0:3000

It might seem a little trivial, but I mean, come on! That's heaps of letters you're saving every day!

kane@192-168-1-5 ⮀ ~ ⮀ echo -n "localhost:3000"|wc      
   0       1      14
 kane@192-168-1-5 ⮀ ~ ⮀ echo -n "0:3000"|wc
 0       1       6

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

The website is part of the attack surface, not only the API behind it. Every script, iframe, and tag on a public page is code that did not go through the same review as the backend.

Security insights from Cside