For a scenario, I need to compare whether server and client are running on the same machine, so I need to get Client's hostname (where browser is runnning ) and Server's hostname which is running on Node JS, that I suppose I can do it using OS module of NodeJS, something like os.hostname().
Not sure about the client side, please help. TIA
via user2218529
No comments:
Post a Comment