# Revision history [back]

### Failed to connect to server (code: 1006)

I have created an OpenStack test environment based on the Martika release using the following instructions:

http://docs.openstack.org/mitaka/install-guide-rdo/

My test environment has both a management and provider networks, here are the IPs of my single Controller and Compute nodes:

controller Management Network 10.0.0.10 Provider Network 192.168.0.2

compute1 Management Network 10.0.0.11 Provider Network 192.168.0.3

I am able to create an instance but get the "Failed to connect to server (code: 1006) when try to connect to the console of my Cirros based instance.

"controller" resolves to 10.0.0.10 and is in the host file of all servers in the test OpenStack environment. Here are the relevant portions of the /etc/nova/nova.conf file from the compute node:

 [DEFAULT]
...
my_ip = 10.0.0.11

[vnc]
...
vncserver_listen = $my_ip vncserver_proxyclient_address =$my_ip

[glance]
...
api_servers = http://controller:9292