Zigbee Gateway Viewer Sample not working with X2

Hi,

I have a Connectport X2 (Wifi), X8 and Rs232 and Temperature Sensors.

The included Gateway Viewer Sample works with the X8, giving temperature data and I am able to remotely receive serial data.

However, it does not work with the X2 at all. I can see the attached devices on the web interface, but the application just says “No Devices Found”.

When I tried rebuilding the application from source, I am getting the traceback as such

Exception in thread Discovery Thread:
Traceback (most recent call last):
File “C:\Python25\lib hreading.py”, line 486, in __bootstrap_inner
self.run()
File “C:\Python25\lib hreading.py”, line 446, in run
self.__target(*self.__args, **self.__kwargs)
File “e:\mod\ZigbeeDiscover.py”, line 37, in discover_thread
self.devices = server.discover()
File “C:\Python25\lib\xmlrpclib.py”, line 1147, in call
return self.__send(self.__name, args)
File “C:\Python25\lib\xmlrpclib.py”, line 1437, in __request
verbose=self.__verbose
File “C:\Python25\lib\xmlrpclib.py”, line 1183, in request
self.send_content(h, request_body)
File “C:\Python25\lib\xmlrpclib.py”, line 1297, in send_content
connection.endheaders()
File “C:\Python25\lib\httplib.py”, line 860, in endheaders
self._send_output()
File “C:\Python25\lib\httplib.py”, line 732, in _send_output
self.send(msg)
File “C:\Python25\lib\httplib.py”, line 699, in send
self.connect()
File “C:\Python25\lib\httplib.py”, line 683, in connect
raise socket.error, msg
error: (10061, ‘Connection refused’)

What seems to be the error here?

Thanks