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

Popular posts from this blog

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -