Monday, 3 April 2017

Cannot connect to socket.io on Google Cloud App Engine

Currently I am developing a mobile application with ionic 2. Within the application I got chat functionality. The chat functionality is based on Socket io in a NodeJS API. Unfortunality, it is hard to configure the socket io on Google Cloud App Engine. On my local machine it works fine.

Steps I have undertook:

  • use port 65080 (and open the firewall port)
  • 2 servers (api calls via 8080 and socket io via 65080

Sample

Does anybody have a solution? Thank you in advance!

Jelle



via Jelle van Lith

No comments:

Post a Comment