Saturday 18 March 2017

Socket.io on Google Cloud Platform

I am trying to deploy a node.js app to Google Cloud Platform. It includes the following parts:

var express = require('express');
var app = express();
var serv = require('http').Server(app);

serv.listen(65080);

var io = require('socket.io')(serv, {});

I am able to deploy it, but the link is giving an error. You can check it here.

I also checked out this link, but I couldn't fix my problem. I opened the firewall, but I'm still getting an error.

Any help is greatly appreciated. Thanks in advance.



via user3279394

No comments:

Post a Comment