我的tomcat服务器在eclipse上运行得很好,但是当我使用独立的tomcat时,我不能从外部ip访问它,只能从localhost访问。有人知道为什么会这样吗?
发布于 2012-08-02 00:15:47
在Tomcat安装目录的/conf目录下找到server.xml文件。找到<Connector>声明并添加address="0.0.0.0"
<Connector port="8080" address="0.0.0.0"https://stackoverflow.com/questions/11763185
复制相似问题