mirror of
https://github.com/therootcompany/greenlock-express.js.git
synced 2025-02-23 13:18:04 +00:00
Bind to address? #29
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a node.js app running well on Windows.
However, that Windows server has 3 IP addresses, and it seems like node.js is listing to port 443 on all the addresses. A
netstat -a -n -o
call shows:and 6804 is one of the PIDs for node.js.
How can I tell greensock which IP address to listen on??
Now asked here too: https://stackoverflow.com/questions/60069333/bind-greenlock-to-specific-ip-address
That's in the examples folder https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/https/server.js
That's the folder you need to be looking at for more advanced uses.
Here's what happens when I add .ready(...) and the code from the example with my IP put in: