open port
查询端口:
firewall-cmd --permanent --query-port=20885/tcp
添加端口:
firewall-cmd --permanent --add-port=8101/tcp
删除端口:
firewall-cmd --permanent --remove-port=38085/tcp
重载:
firewall-cmd --reload
查看端口列表:
firewall-cmd --list-all
Solve the problem of insufficient permissions to start Tomcat in Linux
Solution:
1. Enter the bin directory first, execute chmod u+x *.sh (note the space after x)
2. Restart the application service on the bin command line: ./startup.sh
3. Problem solving