0

I'd like to implement ssl in all of my projects. One of them is using socket.io.

My code to create the socket:

var server = require('http'); var app = server.createServer(function(request, response) { response.end(); }); var io = require('socket.io').listen(app); app.listen(8000); 

I can't bind node.js / socket.io to ssl port cause it's already in use by my webserver (cherokee). Therefore i can't serve the client using https.

Any ideas how to solve this problem?

1 Answer 1

1

You can only bind one application to a port. Since your web server is already bound to port 443, you have two choices:

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.