how to open ubuntu port like 8443

来源:互联网 发布:mirrorlink认证软件 编辑:程序博客网 时间:2024/05/18 14:45

Today I meet a problem that a project release in tomcat, and can not restart. only to find that need to opne 8443 port.

here I use sudo ufw allow out 8443/tcp.

netstat -a

sudo ufw allow 80/tcp
sudo ufw allow 443/tcp

or

sudo ufw allow http
sudo ufw allow https

sudo ufw status verbose
sudo ufw app list

after I use the ufw to open the port, still can not visit the project, need to check the certificate

sudo ufw allow from any to 127.0.0.1 port 8443 proto tcp

0 0
原创粉丝点击