Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ and localhost difference     - How to view the Linux graphics hardware information (Linux)

- Log4cplus logging facility configuration, installation, testing (Linux)

- Nginx server load balancing dual-system availability (Server)

- 10 Linux in the passwd command examples (Linux)

- To install Xen in Ubuntu 12.04 (Linux)

- Intruder tools Knark Analysis and Prevention Linux environment (Linux)

- Zabbix API and PHP configuration (Server)

- Parts of the partition is not recognized after Debian mount mobile hard disk (Linux)

- The YUM package management under Linux (Linux)

- How to use the on-screen keyboard in Linux (Linux)

- A simple shell script for monitoring in Linux (Linux)

- How to fix Ubuntu / Mint can not add PPA source of error (Linux)

- Scala REPL Shell call (Programming)

- Configuring a Linux operating system security management services Explain (Linux)

- RHEL6.4 one key installation Redmine (Linux)

- Object-oriented language Java some of the basic features (Programming)

- Linux operating system security tools of the Logs (Linux)

- ORA-00020: No more process state objects available (Database)

- AFNetworking + Nginx HTTPS communication server + (Server)

- Fedora 22 install Adobe Flash Player (Linux)

   and localhost difference
  Add Date : 2018-11-21      
  Today opened a new server, the code diversion of the past, even the database connection is not on, I looked at the original configuration from to localhost on it. Consider the following two differences.

A lot of people will be exposed to this ip address You might ask what is the address In fact, is a loopback address, referring to the local machine, usually used for testing. We used to run ping local ip / tcp is not normal, as can ping can be used normally.

For most it is the practice of using localhost, in essence, is a pointer to the local IP address There is a configuration file with localhost bound together in the operating system. It can be understood as meaning the local host.

What is the difference between localhost and

Some would say that I believe is the local ip, it has been said, with more than localhost, and can reduce the time to resolve.

It seems that people do not know there is a problem, in fact, the two are different.

localhost also called local, correct explanation is: the local server in the correct interpretation of windows and other systems are: the local address (local server)

They parse through the machine's host file, windows will automatically resolves to localhost

localhot (local) is not transmitted through the network card! This is important, it is not the network firewall and LAN-related restrictions. is transmitted through the card, depending on the card, and are subject to network firewalls and network card related restrictions.

General Setup When the local service is the best use localhost, localhost will not resolve to ip, it will not take up network card, network resources.

Sometimes you can use localhost, but you can use is not the case in this. Guess localhost access, the system with a native of the current user permission to access and use the ip when the machine is again equal access to the machine via the network, the network may be related to the user's permissions.
- Delay for the specified IP port analog network to send and receive packets on Linux (Linux)
- Nginx caching using the official guide (Server)
- To generate a certificate using OpenSSL under Linux (Server)
- Linux Live CD lets your PC is no longer secure (Linux)
- Linux iptables: Composition Rules (Linux)
- CentOS 6.3 compile and install LNMP environment (Server)
- Simple security measures to reinforce the Linux kernel (Linux)
- Python several standard types of built-in functions (Programming)
- Actual SSH port forwarding (Linux)
- Linux loopback adapter Driven Design (Programming)
- How to identify memory leaks in Java (Programming)
- MySQL Tutorial: About checkpoint mechanism (Database)
- C # asynchronous delegates (Programming)
- JavaScript original values and complex values (Programming)
- Linux centralized log server rsyslog (Server)
- OpenGL Superb Learning Notes - Depth Texture and Shadows (Programming)
- Nginx Proxy timeout Troubleshooting (Server)
- Docker build their own private warehouses (Linux)
- Vim copy and paste register (Linux)
- Oracle view object space usage show_space (Database)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.