Sunday, 15 August 2010

php - Unable to make websocket connection from webapp's JS when using Latchet framework deployed on CentOS server -


We are developing a webapp on the Laravel Framework to be deployed on Senseos Linux Server. From server to browser updates, we're using We have developed on the Windows machine, and we are able to make connections with our webapp side (HTML / JS in the browser) webcuter server (latap), and therefore the server is successfully receiving push notifications. The problem is that, when we make actual deployment on our staging server at CentOS, the webpage is not able to create a websocket connection with the side-leat server.

We have examined all dependencies, firewalls, and network settings. We also telnet for the open websocket IP and port, and it connects with no problem. My suspicion is in some configuration which we are now losing the sacrament.

To block the port by the local firewall, as soon as I stopped the iptables and ip6tables services, My problem was resolved immediately.


No comments:

Post a Comment