Tomcat 7 as windows service not accessible from other systems

前端 未结 3 1022
死守一世寂寞
死守一世寂寞 2021-02-14 07:21

I have downloaded Tomcat 7 zip for 32 bit windows 7 machine. I have unzipped the package and created the windows service using ..\\bin\\service.bat. But when i start the servic

相关标签:
3条回答
  • 2021-02-14 07:51

    Another solution could be to install tomcat as a win service to make it available from outside.

    If you have already install tomcat, then you can register it as service using below command.

    service.bat install/remove [service_name] [/user username]

    Both will solve the issue.

    0 讨论(0)
  • 2021-02-14 08:08
    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
    
    0 讨论(0)
  • 2021-02-14 08:10

    I start Tomcat7 using Eclipse java IDE and I had to disable the Windows 7 firewall rules blocking "program files\java\jre\javaw.exe" for both TCP and UDP. Then my other PC could access the web server.

    0 讨论(0)
提交回复
热议问题