Check out example codes for "localhost". It will help you in understanding the concepts better.

Code Example 1

ssh -R 80:localhost:8080 ssh.localhost.run

Code Example 2

no i
didn't

Code Example 3

hey dude you misspelled localhost:3000 !!!

Learn ReactJs, React Native from akashmittal.com