- Learning Continuous Integration with Jenkins(Second Edition)
- Nikhil Pathania
- 108字
- 2021-07-02 21:18:35
Enabling the firewall and port 8080
Apache Tomcat runs on port 8080. Follow these steps to enable the firewall, if it's disabled:
- Enable the firewall using the following command:
sudo ufw enable
- Allow traffic on port 8080:
sudo ufw allow 8080
- Enable OpenSSH to allow SSH connections using the following command:
sudo ufw enable "OpenSSH"
- Check the firewall status using the following command:
sudo ufw status
- You should see the following output:
Status: active To Action From -- ------ ---- 8080 ALLOW Anywhere OpenSSH ALLOW Anywhere 8080 (v6) ALLOW Anywhere (v6) OpenSSH (v6) ALLOW Anywhere (v6)
- You should now be able to access the Apache Tomcat server page at http://<IP address of the Apache Tomcat>:8080.
推薦閱讀
- Linux運維之道(第3版)
- 嵌入式Linux開發技術
- Linux系統架構與運維實戰
- Learning Windows Server Containers
- WordPress Mobile Web Development:Beginner's Guide
- 嵌入式Linux系統開發:基于Yocto Project
- Windows Server 2012 Hyper-V Cookbook
- SharePoint 2013 應用開發實戰
- Linux網絡內核分析與開發
- HTML5 Enterprise Application Development
- Linux內核修煉之道
- 基于Arduino的嵌入式系統入門與實踐
- Xamarin Mobile Application Development for Android
- Administering ArcGIS for Server
- Microsoft DirectAccess Best Practices and Troubleshooting