[英]Problems Installing tomcat9, port 8080 not showing up Ubuntu
我安裝了 Tomcat9 並且它工作了,一段時間后我使用以下方法卸載了它:
sudo apt remove --purge tomcat9 tomcat9-admin
命令。
然后我使用whereis tomcat9
刪除了我擁有的所有 tomcat 文件。
現在當我使用sudo apt install tomcat9 tomcat9-admin
我看不到端口 8080
使用ss -ltn
屏幕截圖和 tomcat 時不起作用。
使用sudo ufw allow from any to any port 8080 proto tcp
返回:
Skipping adding existing rule
Skipping adding existing rule (v6)
我該怎么做才能再次安裝 Tomcat9?
提前致謝。
所以,如果你做了同樣的事情,那就是以一種奇怪的方式卸載它並且它不起作用,只需將它安裝在 opt 目錄中。 這次我沒有使用apt install
,而是去tomcat官方網站,用二進制安裝。 我用過的中篇文章:)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.