腾讯云服务器端口localhost可以访问,外部无法访问解决

编程入门 行业动态 更新时间:2024-10-16 18:38:37

<a href=https://www.elefans.com/category/jswz/34/1770070.html style=腾讯云服务器端口localhost可以访问,外部无法访问解决"/>

腾讯云服务器端口localhost可以访问,外部无法访问解决

搭建frp跳板,发现无法使用。ssh 连接不上。

主要检查2个东西:

1. ubuntu ufw系统防火墙。这个默认是关掉的

2. tencent这个防火墙规则设置后,还要设置到实例上。 以前不是这样的。就掉坑里了。

# systemctl 

root@VM-4-4-ubuntu:/lib/systemd/system# cat frps.service 
[Unit]
Description=frps

[Service]
ExecStart=/etc/frps/frps -c /etc/frps/frps.ini 
Restart=yes

[Install]
WantedBy=multi-user.target

systemctl daemon-reload

systemctl restart frps.service

更多推荐

腾讯云服务器端口localhost可以访问,外部无法访问解决

本文发布于:2023-12-08 13:02:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1672870.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:腾讯   端口   无法访问   服务器   localhost

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!