运行 of Tomcat in just local 可能吗?

Is Running of Tomcat in just local Possible?

我在服务器上需要一个 运行 Tomcat,但是它无法接受来自网络的请求。当我进入Server Gui时,我可以连接tomcat服务器中的Web Gui。

这可能吗?

谢谢

您可以将 tomcat 配置为仅在环回接口上侦听:

例如: 在 server.xml 配置文件中,搜索连接器标签并 将 address 属性设置为本地环回 ip 地址

<Connector address="127.0.0.1" protocol="HTTP/1.1" ...