我已经下载了适用于 32 位 Windows 7 机器的 Tomcat 7 zip。我已经解压了该包并使用 ..\bin\service.bat 创建了 Windows 服务。但是当我从 windows services.msc 启动服务时,我无法通过其他系统的 Web 应用程序访问。可以从本地主机访问它。
但是当我使用 ..\bin\startup.bat 从命令行启动 tomcat 时,我可以从其他系统访问我的 Web 应用程序。
我在tomcat的..\conf\server.xml中添加了address="0.0.0.0"。但问题仍然存在。也尝试在防火墙中添加例外。但没有运气。
操作系统:Windows 7 专业版
有任何想法吗??
Solution:
Add the ..\bin\tomcat7.exe to the Windows exception list. Everything works fine.
1. To to Windows Start --> Control Panel
2. Open windows firewall
3. Click on "Allow a program or feature through windows firewall" in the left menu
4. Add tomcat7.exe to the exception list and click ok.
5. Restart tomcat and now you can access tomcat from other machines
Solution:
Add the ..\bin\tomcat7.exe to the Windows exception list. Everything works fine.
1. Go to Windows Start --> Control Panel
2. Open windows firewall
3. Click on "Allow a program or feature through windows firewall" in the left menu
4. Add tomcat7.exe to the exception list and click ok.
5. Restart tomcat and now you can access tomcat from other machines
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)