Closed yipingshui closed 12 years ago
Please replace example.com with your host name. See https://github.com/gimite/web-socket-js/blob/master/README.md for details. If you still have issue, please follow "Troubleshooting" section there.
Thanks ! I solved it myself. I have installed Win7 OS in my compute. Then I installed the VMware Workstation in the win7. And then I installed Linux OS in the VMware Workstation. So, use the VMware IP to set the hostname. $ ruby web-socket-ruby/samples/echo_server.rb IP 10081. And ws://IP:10081 in sample.html. It's OK!
anyone who use the VMware Workstation in your OS . Use the IP to set hostname
hello gimite! I downloaded the web-socket-js directory and web-socket-ruby directory. I want to run the demo. I ran the Web Socket server: ruby web-socket-ruby/samples/echo_server.rb example.com 10081. Then , I run the Nginx web Server and opened sample.html in the chrome browser. But I can't connect to the Web Socket server. I don't know how i can run it. Waiting for your help! Thanks