Answer the question
In order to leave comments, you need to log in
How to force to connect via ssl?
in the console it gives net::ERR_CONNECTION_CLOSED, I don't know what else to do.
server
var app = require('express')(),
server = require('https').Server(app),
io = require('socket.io')(server);
var redis = require("redis");
var client = redis.createClient();
var requestify = require('requestify');
function log(log) { console.log('[APP] ' + log) }
server.listen(55);
log('Локальный сервер запущен на порте 8081');
var socket = io.connect('https://domain.name:55', {secure: true});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question