Pages

Bài đăng phổ biến

Tuesday, May 8, 2012

[Solved] libvirtError: Unable to read from monitor: Connection reset by peer

Problem :
Error starting domain: Unable to read from monitor: Connection reset by peer

Solution:

 virsh edit <domainname>

Search these word:  <graphics type='vnc' port='-1' autoport='yes'/>
Delete it and save .

After that start vm again is ok.
Good luck :) !

Nguyen Si Nhan




Deny all IP access to port assigned exclude my IP


In my exaple is port 25 and my ip is 1.2.3.4:


iptables -A INPUT -p tcp --dport 25 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j DROP

Finish!

Nguyen Si Nhan

Thursday, May 3, 2012