- 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.
推薦閱讀
- Windows Server 2019 Cookbook
- 高性能Linux服務器構建實戰:運維監控、性能調優與集群應用
- Installing and Configuring Windows 10:70-698 Exam Guide
- 嵌入式Linux驅動程序和系統開發實例精講
- macOS效率手冊
- Mastering Reactive JavaScript
- 嵌入式微系統
- Docker容器技術與應用
- OpenStack Essentials(Second Edition)
- Azure Resource Manager Templates Quick Start Guide
- 鴻蒙HarmonyOS應用開發從入門到精通
- Unity AR/VR開發:實戰高手訓練營
- 微軟360度
- Mastering AWS CloudFormation
- Windows 11使用方法與技巧從入門到精通