当前位置:网站首页>VNC Timed out waiting for a response from the computer
VNC Timed out waiting for a response from the computer
2022-07-28 05:29:00 【ithicker】
最近在腾讯云服务器ECS上安装了图形界面和VNC Server,参考:Ubuntu18.0下安装远程桌面服务端软件VNC Server
但是连接的时候却提示:VNC Timed out waiting for a response from the computer
首先尝试在网站设置安全组打开端口
先是创建了安全组,参考: 云服务器 ECS>安全>安全组>创建安全组
尝试后不行,仍然连接不上;
解决办法
sudo /sbin/iptables -I INPUT 1 -p TCP --dport 5901:5910 -j ACCEPT
#或者直接修改文件/etc/sysconfig/iptables文件,添加一行:
-A INPUT -p tcp -m state --state NEW -m tcp --dport 5901:5910 -j ACCEPT
#重启iptables服务:
service iptables restart
#如果没有iptables.service文件,使用yum安装一下:yum install iptables-services
---------------------
作者:勤奋的伙计
来源:CSDN
原文:https://blog.csdn.net/jisuanji_wjfioj/article/details/78257729
版权声明:本文为博主原创文章,转载请附上博文链接!
于是执行了一下下方指令,防火墙也不需要重启,也没执行 flush privileges,再用VNC客户端一连接,发现连接上了。
sudo /sbin/iptables -I INPUT 1 -p TCP --dport 5901:5910 -j ACCEPT
边栏推荐
- MOOC翁恺C语言 第四周:进一步的判断与循环:3.多路分支4.循环的例子5.判断和循环常见的错误
- Technology sharing | detailed explanation of actual combat interface test request methods get, post
- Custom components -- slots
- MOOC Weng Kai C language week 6: arrays and functions: 1. Arrays 2. Definition and use of functions 3. Parameters and variables of functions 4. Two dimensional arrays
- 360 compatibility issues
- Upload and download files from Ubuntu server
- MySQL master master
- Blue bridge code error ticket
- Servlet
- Shell script - sort, uniq, TR, array sort, cut, Eval command configuration
猜你喜欢

Servlet

NFS shared storage service

Firewall - iptables firewall (four tables and five links, firewall configuration method, detailed explanation of matching rules)

MOOC翁恺C语言第八周:指针与字符串:1.指针2.字符类型3.字符串4.字符串计算

DNS domain name resolution service

DHCP service

Custom components -- styles

shell脚本——sort、uniq、tr、数组排序、cut、eval命令配置

DOM operation cases

Blue bridge code error ticket
随机推荐
Difference between process and thread
On cookies and session
Custom component -- pure data field & component life cycle
DHCP服务
Wechat applet custom compilation mode
修复故障扇区
[learning notes] thread creation
Applet creation component
防火墙——iptables防火墙(四表五链、防火墙配置方法、匹配规则详解)
Create, traverse and search nodes as required for single linked list
Operation document tree
DOM operation cases
Suger Bi create task
Life cycle (process) of software testing
What is a linear table?
MOOC Weng Kai C language fourth week: further judgment and circulation: 1. Logical types and operations 2. Judgment of cascading and nesting
MySQL master master
DOM Foundation
Esxi community nvme driver update v1.1
SSH服务配置