Is there a way in NodeJS to bypass linux's /etc/hosts file?
For example, if I have an entry in my hosts file like: 127.0.0.1 example.com
How would I access the 'real' example.com from NodeJS?
I don't want to temporarily modify /etc/hosts to do this, as it can bring about some problems and is not a clean solution.
Thanks in advance!
via Alan Du
No comments:
Post a Comment