Access Tomcat and windows8ipv4 through an IPv4 address in Windows 8

Source: Internet
Author: User

Access Tomcat and windows8ipv4 through an IPv4 address in Windows 8

Recently, Android is being developed. The mobile client needs to access the Web application service started on the computer through an IPv4 address.

In Windows 7, you do not need to set any settings. localhost, 127.0.0.1, or 192.168.0.100 can be accessed, but in Windows 8, if you do not set it, you cannot access it through an IPv4 address.

You need to perform the following steps:

1. Choose Control Panel> Management Tools> Advanced Security Windows Firewall.

2. In the left pane of Windows Firewall for Advanced Security, select "inbound rules" and select "new rule" in the right pane ":

3. In the displayed window, select "Port" and click "Next ]:

4. select TCP and a specific local port, enter the port number to be opened (enter 8080 here), and click [next ]:

5. Select "allow connection" and click "Next ]:

6. Select all options and click [next ]:

7. Enter the name (enter Tomcat here) and click "finish ].

8. Make sure that the rule is Enabled:

After the above settings, you can use your IP address to access your website on other computers on the same lan. I hope this article will be helpful to friends who have the same troubles.

Refer:

Http://blog.csdn.net/gykthh/article/details/24404459

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.