- 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.
推薦閱讀
- Hands-On DevOps with Vagrant
- 計算機系統開發與優化實戰
- 竹林蹊徑:深入淺出windows驅動開發
- AutoCAD 2014中文版從入門到精通
- OpenStack系統架構設計實戰
- Windows Server 2012網絡操作系統項目教程(第4版)
- Hands-On UX Design for Developers
- 從零開始學安裝與重裝系統
- Heroku Cloud Application Development
- μC/OS-III內核實現與應用開發實戰指南:基于STM32
- Less Web Development Essentials
- Windows Azure實戰
- 分布式實時處理系統:原理、架構與實現
- 電子商務系統建設與管理
- Hyper-V Replica Essentials