Hi,

I get Unable to bind the page error while I try to connect to remote lightstreamer server.
However, if I set domain as "null" then it tries to connect but it gives me security error in the page.

Following is the code:

<html>

<head>
<script type='text/javascript' src="ls/lscommons.js"></script>
<script type='text/javascript' src="ls/lspushpage.js"></script>

</head>

<body>

<script>
/////////////////////////////////PushPage Configuration

var lsPage = new PushPage();
// lsPage.context.setDebugAlertsOnClientError(false);
lsPage.context.setDomain("mycompany.com");
//lsPage.context.setDomain(null);
lsPage.onEngineCreation = startEngine;
lsPage.bind();
lsPage.createEngine("SLEngine", "ls/");

function startEngine(eng) {
eng.context.setDebugAlertsOnClientError(true);
eng.policy.setMaxBandwidth(30);
eng.policy.setIdleTimeout(30000);
eng.policy.setPollingInterval(1000);
eng.connection.setLSHost("server1.is.mycompany.com ");
eng.connection.setLSPort(8085);
eng.connection.setAdapterName("STOCKJMS");
eng.changeStatus("STREAMING");
}

</script>
</body>

</html>

Any help is appreciated.

Thanks in advance!