Problems that cannot access the native database after you disable network connections

Source: Internet
Author: User

Today, the colleagues out of the demo feedback A question, said is not plugged in the network, access to the local database.

Take this question and clear the



(3) Native IP

(4) localhost

The difference between.

localhost is also known as local, and the correct explanation is: the native server
The correct explanation of in Windows and other systems is: Native address (native server)
their resolution through the native host file, Windows automatically resolves localhost to
localhot (local) is not transmitted through the network card! This is important, and it is not limited by network firewalls and Nic-related.
The is transmitted through the network card, relies on the network card, and is restricted by the net firewall and the NIC.
The local IP is also transmitted through the network card, relying on the network card, and is subject to the Internet firewall and Nic-related restrictions.
However, the difference between native IP and is: can only be accessed via the native computer
Native IP can also be accessed externally through native access
The General Setup program when the local service with localhost is the best, localhost will not be resolved to IP, and will not occupy the network card, networking resources.

Sometimes it can be used with localhost, but it is in this case that it is not possible to use Guess when the localhost access, the system with the current user's permissions to access, and IP, equal to the machine is to access the computer through the network, with the user's rights to the network.

Problems that cannot access the native database after you disable network connections

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.