Created
June 13, 2018 18:25
-
-
Save yogain123/d40273c12dab7123f6a77fc4994278b8 to your computer and use it in GitHub Desktop.
linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hola |
Localhost vs Private IP
When you access localhost, your /etc/hosts file will tell your computer not to look any further and redirects you to your own computer. When you access the local IP adress, your computer will ask the router to fetch the data, and your router will then point back to your computer.
localhost work via your system (Works even internt not coming)
Private IP works via router (won't work if internet not coming)
Port 80(http) and port 443(https) are considerd to be system port and , if you specifiy any url with 80 or 433 , then you don't have to write it in url, its present but will be seen hidden , simply => http://localhost
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TCP/IP , HTTP, FTP