Hosts' role

xiaoxiao2021-03-18  191

The Hosts file is a file responsible for the IP address and domain courier in the Windows system.

The relationship between the domain name and IP address is saved in the Host file. Typically, when we entered a domain name in the browser's address bar, the browser first checks the corresponding IP in the Host file, if there is, The domain name is parsed directly into the IP address in the Host file, and if you don't query to the DNS server.

Hosts is a hosts.sam file in Windows98. In Windows2000 / XP, Hosts file hosts is located in the system disk / windows / system32 / drivers / etc / directory

I can access remote SQL Server through the IP address in nmware, but when accessing by hostname: Database open failed! Error code is: 2 Error details are: Error when establishing connection with the server. When connecting to SQL Server 2005, SQL Server does not allow remote connections in the default settings that may fail. (Provider: Named Pipe Provider, Error: 40 - Unable to open to SQL Server connection) Database connection string: server = BOMEXS3; user = xxxxx; pwd = xxxxx; database = xxxxx solution: 127.0.0.1 localhost192.168.0. 3 BOMEXS3 /// Add this line after OK

转载请注明原文地址:https://www.9cbs.com/read-129985.html

New Post(0)