Hello, good tutorial first of all! It sucks how little information is known when working with websockets through lucee. I followed your tutorial/github/wiki and had to overcome many errors. Now I've it working on the server of our company through localhost. I can do the same in the console of the browser and successfully send a message and get it back. Now I try the same from outside the server, but then I get an connection_timeout error. I have also installed websockets on IIS but I'm not really great with this kind of software. I'm wondering that maybe you can point me in the right direction how to get this working outside localhost. Thanks!
First of all, thank you. It's best to ask questions at dev.lucee.org/ since I monitor that more frequently than the comments here, and it can benefit others who experience similar issues. If you can connect locally, but not remotely, then there's a very good chance that the problem is with a firewall that either blocks the request, or the web server configuration that does not forward the Upgrade to WebSocket directive of the http request to the Servlet container.
Ah thank you for your quick response, I also had an idea is something about firewalls/ports blocking the connection. I also asked the question on my favorite website stackoverflow: stackoverflow.com/questions/46489727/lucee-5-0-websocket-outside-localhost. I'm going to check tomorrow morning if I can figure out what it is, and I will post the answer on stackoverflow. Thanks again, I would really like the websockets to work!
Hello, good tutorial first of all! It sucks how little information is known when working with websockets through lucee. I followed your tutorial/github/wiki and had to overcome many errors. Now I've it working on the server of our company through localhost. I can do the same in the console of the browser and successfully send a message and get it back. Now I try the same from outside the server, but then I get an connection_timeout error. I have also installed websockets on IIS but I'm not really great with this kind of software. I'm wondering that maybe you can point me in the right direction how to get this working outside localhost. Thanks!
First of all, thank you. It's best to ask questions at dev.lucee.org/ since I monitor that more frequently than the comments here, and it can benefit others who experience similar issues. If you can connect locally, but not remotely, then there's a very good chance that the problem is with a firewall that either blocks the request, or the web server configuration that does not forward the Upgrade to WebSocket directive of the http request to the Servlet container.
Ah thank you for your quick response, I also had an idea is something about firewalls/ports blocking the connection. I also asked the question on my favorite website stackoverflow: stackoverflow.com/questions/46489727/lucee-5-0-websocket-outside-localhost. I'm going to check tomorrow morning if I can figure out what it is, and I will post the answer on stackoverflow. Thanks again, I would really like the websockets to work!