How to get a protocol from IP and port(Proxy server with port) with nodejs?
问题 I need to get protocol(HTTP or HTTPS) from a proxy server(IP address and port) with NodeJs. I have a Nodejs server application. while installing the application in any windows machine, it should fetch the proxy configuration from the machine automatically and allows all the requests through the proxy server. I am able to find the proxy server Ip and port from the windows registry(HKEY_USERS.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings) but I don't how to identify the