I have set up Xen + Ubuntu per the instructions at https://help.ubuntu.com/community/XenProposed. I am now ready to install a HVM guest OS (Ubuntu Desktop 12.04). After I start my HVM guest OS
xen create ubuntu-hvm.cfg
I need to now connect to it. I am connecting to the HVM guest OS on a Windows box using VNC Viewer. However, I can't connect:
unable to connect to host: Connection refused (10061)
On the Xen+Ubuntu box, Dom0, the LAN IP is 192.168.0.201. Just as a sanity test, I pinged the following addresses while on the Dom0 console
ping localhost
ping 127.0.0.1
ping 192.168.0.201
All pings were successful. Then I tried to telnet via port 5900.
telnet localhost 5900
telnet 127.0.0.1 5900
telnet 192.168.0.201 5900
The last telnet to the LAN IP does not work:
telnet: Unable to connect to remote host: Connection refused
I also checked to make sure port 5900 was opened.
sudo netstat -tcp --listening --programs
I got the following information.
Proto Recv-Q Send-Q Local_Address Foreign_Address State PID/Program_name
tcp 0 0 localhost:5900 *:* LISTEN 2097/qemu-dm
tcp 0 0 192.168.122.1:domain *:* LISTEN 5653/dnsmasq
tcp 0 0 *:ssh *:* LISTEN 1198/sshd
tcp 0 0 [::]:ssh [::]:* LISTEN 1198/sshd
On my Windows box, a ping to 192.168.0.201 works, but a telnet 192.168.0.201 5900 does not work.
Any help is appreciated.