mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #180] webvirtmgr-novnc: [Errno 111] Connection refused #140
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @drakulavich on GitHub (Dec 23, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/180
Pre-conditions:
RHEL 6.5 with webvirtmgr and novnc package.
KVM host on RHEL 6.4 (192.168.116.194), vnc_listen is enabled in /etc/libvirt/qemu.conf.
How to reproduce the problem:
Could you explain, please, is it a bug or broken configuration?
@k3oni commented on GitHub (Dec 23, 2013):
/etc/init.d/webvirtmgr-novnc start
@retspen commented on GitHub (Dec 23, 2013):
Use https ?
@drakulavich commented on GitHub (Dec 24, 2013):
@retspen
No, Apache config grabbed from wiki, no https.
I see another error on client side:
@retspen commented on GitHub (Dec 24, 2013):
Connected ?
$ telnet x.x.x.x 5900
@drakulavich commented on GitHub (Dec 24, 2013):
Yes, I could connect 5900 and 6080 via telnet.
@retspen commented on GitHub (Dec 24, 2013):
Are you have vncviewer, can you connect via vncviewer to port 5900 ?
@drakulavich commented on GitHub (Dec 24, 2013):
Sorry, I found my mistake.
VNC port for KVM host is 5901. If I run:
I could open VNC session via browser.
Is there a place to change port number for each server on webvirtmgr side?
@retspen commented on GitHub (Dec 24, 2013):
You can set port in instance xml manual but webvirtmgr get port from libvirt auto. Hover mouse on button Console and you can see instance VNC port.
@drakulavich commented on GitHub (Dec 24, 2013):
Thanks for help.
I understood why VNC was not working with VMs. It seems like
vnc_listenin /etc/libvirt/qemu.conf does't enable listening for external IP addresses.I've added
listen='0.0.0.0'to thegraphicssection of VM's config. It works after that.@retspen commented on GitHub (Dec 24, 2013):
If VM create before you change section "vnc_listen" in file /etc/libvirt/qemu.conf all vm not response to public interface. In next time try simple test:
$ netstat -ant | grep 590
Any time!