A workaround that can access tomcat on the local machine and cannot be accessed by the remote machine

Source: Internet
Author: User

Problem Description: A tomcat was built on the test server and can be opened with IP on the test server. I use my own machine to be able to log on to the test server on the remote Desktop, but I cannot access Tomcat on my own machine through the IP to the test server.

Workaround:

1. Telnet serverip 8080 on the command line to see if it can be connected. My error message is: Unable to open the connection to the host. On port 8080: Connection failed.

2. Go to the firewall to shut down, and then try to connect, found to be able to connect, indicating that the firewall policy restricts the connection.

3. Open the firewall again, then enter the directory: Control Panel \ System and Security \ Windows Firewall, select Advanced Settings, click on the inbound rules, then click New Rule, select the port, then add a 8080 port (which port, Depends on which of your tomcat is configured. Done.

Attached: Firewall settings

A workaround that can access tomcat on the local machine and cannot be accessed by the remote machine

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.