linux - CURL error hostname was not found in DNS cache -
im trying connect webservice via curl in production server , gives me an:
curl http://xxxx.xxxx.xxxx.xxxx:8182/rest/ --verbose * hostname not found in dns cache * trying xxxx.xxxx.xxxx.xxxx...
if in computer or other server works fine.
any ideas?
this might due hostname not getting resolved. running prod server inside docker?
if check on https://docs.docker.com/engine/userguide/networking/configure-dns/
options fixing host/alias,..etc.
hope might helpful.
Comments
Post a Comment