Closed vladbabii closed 7 years ago
See this example: https://github.com/mcollina/mosca/blob/master/examples/Server_With_All_Interfaces-Settings.js.
What do you mean by original ip?
I meant the client is. I need to validate authentication with ip port username password client I'd.
Thank you for the example, I used a reverse proxy until now and I was blocked trying to get the client original ip.
Can mosca listen on multiple ip/port pairs? If not, is there any way I can also send the original ip to the broker on authorization event?