AJJ*_*AJJ 8 windows tomcat windows-7 tomcat7
我已经为32位Windows 7机器下载了Tomcat 7 zip.我解压缩了包并使用..\bin\service.bat创建了Windows服务.但是,当我从Windows services.msc启动服务时,我无法通过其他系统的Web应用程序访问.它可以从localhost访问.
但是当我使用..\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
Run Code Online (Sandbox Code Playgroud)
AJJ*_*AJJ 12
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
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
13106 次 |
| 最近记录: |