You may get this error when you send request to any URL from nodejs,
Simply you can solve this error by doing following
1. Find out IP of url (which you try to access from your code)
2. Add that url and domain in your /etc/hosts as below
111.111.111.111 example.com
Cheers !!
Simply you can solve this error by doing following
1. Find out IP of url (which you try to access from your code)
2. Add that url and domain in your /etc/hosts as below
111.111.111.111 example.com
Cheers !!
No comments:
Post a Comment