2017-01-06 5 views
0

上のWebSocketが、運用サーバーでは、/理解できますか?私はこの問題に直面してscroll down toパソコンへ転送ローカルサーバでHTTPS

私conf.yml

gos_web_socket: 
    server: 
     port: 8081 #The port the socket server will listen on 
     host: kergafa.com #The host ip to bind to 
     router: 
     resources: 
      - '@SkiesAdherentBundle/Resources/config/pubsub/routing.yml 
    client: 
     firewall: main 
     session_handler: '@session.handler.pdo' 
    pushers: 
    wamp: 
     host: kergafa.com 
     port: 8081 

私は、サーバー起動時に:

[2017-01-06 04:33:12] websocket.INFO: Starting web socket 
[2017-01-06 04:33:12] websocket.INFO: Register periodic callback Gos\Bundle\WebSocketBundle\Periodic\PdoPeriodicPing, executed each 20 seconds 
[2017-01-06 04:33:12] websocket.INFO: Launching Ratchet on kergafa.com:8081 PID: 7698 

をので、その作品

ctunnel confに

[websockets] 
accept = 8080 
connect = kergafa.com:8081 

それは言う:私はあなたのポストを編集した

tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 7694/stunnel4 

答えて

0

[Started: /etc/stunnel/stunnel.conf] stunnel. 

はgrep 8080結果。 config.ymlでは次のようになります。

router: 
    resources: 
     - '@SkiesAdherentBundle/Resources/config/pubsub/routing.yml 

しかし、これは間違っています。私は単純な変更と思う:

router: 
    resources: 
     - @SkiesAdherentBundle/Resources/config/pubsub/routing.yml 

多分それは問題ですか?

+0

Uはコピー/ペーストの間違いを犯しましたが、私の問題ではありません。ありがとう –

関連する問題