What is Localhost ...?


In computer networking, localhost is a hostname that means this computer. It is used to access the network services that are running on the host via the loopback network interface. Using the loopback interface bypasses any local network interface hardware.

The local loopback mechanism may be used to run a network service on a host without requiring a physical network interface, or without making the service accessible from the networks the computer may be connected to. For example, a locally installed websitemay be accessed from a Web browser by the URL http://localhost to display its home page.



How to Setup localhost web server ?

We can setup localhost web server using different web servers. They are following

Apache2

Nginx

We can use MyServer tool to start localhost web server in linux or Android devices.

Popular Posts