localhost does not start

Source: Internet
Author: User

1, open Internert information management to see if IIS is started, and the default Web site is open;
2. Open http://127.0.0.1 to see if you can access the default Web page of IIS, which means that IIS has been successfully installed on the computer and may not be able to resolve localhost;
3, Start-command (cmd)--ping localhost, see if it can ping, return information from the 127.0.0.1, if successful, it can parse localhost;
4. If the previous step is unsuccessful, open the C:/windows/system32/drivers/etc/hosts file with Notepad to see if it contains: 127.0.0.1 localhost, if not, add it to it, Then see if you can access localhost.
5, try to point the home directory of the site to another directory or create a new virtual directory, and in the new directory, a new Web page file, such as index.html, and then add it to the default Web site in the "Documents" item as the default access to the Web page, re-enter the URL: http://localhost, See if you can access it.
6, or not. Uninstall IIS and reinstall it again.

There is also a situation that will cause "cannot access localhost, but can access 127.0.0.1", this is what I encountered, the information returned is as follows:


The page cannot be displayed
There is a problem with the page you were trying to reach and it cannot be displayed.


--------------------------------------------------------------------------------

Please try the following:


Click the Refresh button, or try again later.

Open The Web site home page, and then look for links to the information want.
If you believe should is able to view this directory or page, please contact the WEB site administrator by using the E -mail address or phone number listed on the WEB site home page.
10061-connection refused
Internet Security and Acceleration Server

--------------------------------------------------------------------------------
Technical information (for support personnel)

Background:
The server is attempting to access have refused the connection with the gateway. This usually results from trying to connect to a service which is inactive on the server.

ISA server:xwproxy1.star-net.cn
Via:

Time:2008-10-14 0:50:36 GMT


This is because my department's computer only through the LAN host Proxy server to access the network, when setting up a proxy server, do not use proxy server for this address (B) "hook, resulting in access to local address when also experimental proxy server, localhost can only be resolved by the local host, The proxy server cannot resolve localhost for other hosts. Just put the Internet option--Link--LAN settings--The one under the proxy server.

LocalHost does not start

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: info-contact@alibabacloud.com 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.