如何从网络上的另一台计算机浏览Tomcat本地主机? [英] How can I browse my Tomcat localhost from another computer on the network?

查看:146
本文介绍了如何从网络上的另一台计算机浏览Tomcat本地主机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是IIS人士,并且知道它就像使用http://[计算机名]/path一样简单到webapp ..但是,我似乎无法弄清楚如何使我正在编写的在Tomcat下运行的JSP应用程序成为可能.我是否需要在某个地方进行配置设置?

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆