Is there a way to set the source port for a node js https request? I am not asking about the destination, rather the source, ie the port used to send the request.
T
Unfortunately it looks like Node does not support binding a client port. Apparently this isn't a feature that is used much, but it is possible. This link explains port binding fairly well. https://blog.cloudflare.com/cloudflare-now-supports-websockets/ Not sure how to get the nodejs people to consider this change.