WebSocket connection to OpenShift app failed

前端 未结 2 1494
面向向阳花
面向向阳花 2020-12-09 05:41

I created an app with NodeJS and I\'m using ws module. If I test the app in localhost it works and there isn\'t any problem to connect websockets. Now I\'ve upload the app t

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-09 06:27

    Here is an example on github that works that you can check out: https://github.com/developercorey/openshift-nodejs-http-and-websocket-example

提交回复
热议问题