node.js - SOLVED::: Https access by ip working but not by url -
i have server setup in node, seems fine in local in server not working well.
server.listen server.secure_port, server.host, ()-> console.log("secure listening " + server.host + ":" + server.secure_port ) server.listen server.port, server.host, ()-> console.log("insecure listening " + server.host + ":" + server.port )
basically listening in port 80 works perfect , behaves expected, secure port works ip , not domain.
i thought problem dns not sending requests or that, , in fact was, if you're using cloudflare must note ssl not supported in free plans. can either disable dns management domains or move paid plan. took me 5 hours until hit it. :( emphasized text
Comments
Post a Comment