如何从网络上的另一台计算机浏览Tomcat本地主机? [英] How can I browse my Tomcat localhost from another computer on the network?
问题描述
我是IIS人士,并且知道它就像使用
I'm an IIS guy and know its as simple as just using the http://[computername]/path to webapp.. however, I can't seem to figure out how to make this possible for a JSP application I'm writing that runs under Tomcat. Is there a configuration setting I need to set somewhere?
推荐答案
您需要使用默认情况下为8080的Tomcat端口.因此,您可能希望以如下方式从计算机B访问计算机A上的本地主机: http://A:8080/YourProject 记住,与IIS不同,它区分大小写.
You need to use the Port of Tomcat which is by default 8080. So you might want to access you localhost on machine A from machine B as http://A:8080/YourProject And Remember Unlike IIS , it is case sensitive.
这篇关于如何从网络上的另一台计算机浏览Tomcat本地主机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!