search

Home  >  Q&A  >  body text

apache - Regarding the problem of tomcat under Linux (port 80 cannot be accessed), I hope someone can solve it

The problem is this. I modified the server.xml port number in tomcat under Linux from 8080 to 80. There was no error when starting, but I couldn't access it! And I also modified the tomcat server.xml port number under local windwons and it is accessible! I checked the problem, and some said that if the port number is less than 1024, I need to modify the files under etc/tomcat.., but when I opened it with the command, it was all ~~ ~ Sort by row one by one. I don’t know why, but changing tomcat to 80 still doesn’t work. Others say that they check port 80 and then kill them all. The problem is that there is always one left that cannot be deleted. This is a very embarrassing thing. I don’t know if you have encountered such a problem in the process of learning. I hope you can give me more guidance on how to solve it.

女神的闺蜜爱上我女神的闺蜜爱上我2696 days ago1042

reply all(3)I'll reply

  • 大家讲道理

    大家讲道理2017-06-30 09:58:58

    It is possible that port 80 is occupied by other applications. Use cmd to check which program is occupying port 80, kill it, and then start tomcat

    reply
    0
  • 迷茫

    迷茫2017-06-30 09:58:58

    There is no problem starting up, it may be that the firewall does not open port 80

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-06-30 09:58:58

    Sorry, the problem has been solved. I set the security group specification of Alibaba Cloud to 80/80 0.0.0/0. I forgot this setting.

    reply
    0
  • Cancelreply