Websocket-Rails gem running as standalone timesout trying to connect to Thin on live server
问题 I'm setting up this app that contains a chat module and everything is working fine on localhost. Now I am trying to connect to the server as a standalone service, but the connection state in the dispatcher is always 'connecting' until it finally times out with the following message: WebSocket connection to 'ws://myserver:3001/websocket' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT Gemfile gem 'faye-websocket', '0.10.0' gem 'websocket-rails', github: 'moaa/websocket