How to access Tomcat from another computer?

前端 未结 6 1010
小鲜肉
小鲜肉 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:30

    Just Enable Firewall port for tomcat on your windows machine.

    Goto Windows Firewall->Advanced Settings->Inbound Rules.

    In the Right side click on New Rule->Then select Port from dialog box and Next->Then type port "8080" (As by default Tomcat run on this port) and Next->Then select "Allow the connection"->Next->Give a Name ->Finish.

提交回复
热议问题