How to access Tomcat from another computer?

前端 未结 6 968
小鲜肉
小鲜肉 2020-12-31 06:35

I have an JSP website which I want to share with my friends. We all are using a same internet resource. We have a common static IP:49.204.14.98(My Public IP). We are almost

6条回答
  •  借酒劲吻你
    2020-12-31 07:31

    I had the same problem in my windows 8 OS, I just have added an exception to port on which the tomcat apache was running.

    for adding exception to port use the following step

    1. Open Windows Firewall by clicking the Start button Picture of the Start button, and then clicking Control Panel. In the search box, type firewall, and then click Windows Firewall.

    2. In the left pane, click Advanced settings. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

    3. In the Windows Firewall with Advanced Security dialog box, in the left pane, click Inbound Rules, and then, in the right pane, click New Rule.

    4. Now select port and click next, now enter your port in specific local ports OR check on All local port.

    5. Select your preferred setting on next two panel, and the last give your Inbound rule.

提交回复
热议问题