When accessing Tomcat on the local machine, http: // localhost: 8081 cannot be used, but http: // 127.0.0.1: 8081 can be used as a solution?

Source: Internet
Author: User

Step 1: Check the host file in drivers under system32 to check whether 127.0.0.1 localhost exists. If yes, the ing is normal.
Step 2: view the proxy settings of IE, tools-> Internet Options-> connection-> LAN Settings, do not set a proxy for the local machine.
Step 3: Ping localhost in cmd to view the returned result. If the following result is returned:
> Ping localhost
Reply from: 1: Times <1 ms
Reply from: 1: Times <1 ms
Reply from: 1: Times <1 ms
This is because IPv6 is installed. Just uninstall IPv6 and enter "IPv6 Uninstall" in cmd.

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.