- 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運維實戰:CentOS7.6操作系統從入門到精通
- Windows Server 2012 Hyper-V:Deploying the Hyper-V Enterprise Server Virtualization Platform
- BPEL and Java Cookbook
- vSphere Virtual Machine Management
- 玩到極致 iPhone 4S完全攻略
- Installing and Configuring Windows 10:70-698 Exam Guide
- 高性能Linux服務器構建實戰:系統安全、故障排查、自動化運維與集群架構
- Python基礎教程(第3版)
- Django Project Blueprints
- Linux內核分析及應用
- Implementing Domain-Specific Languages with Xtext and Xtend(Second Edition)
- Microsoft Azure Administrator:Exam Guide AZ-103
- Drupal 7 Mobile Web Development Beginner’s Guide
- Building E-commerce Sites with Drupal Commerce Cookbook
- Windows10開發入門經典