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

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -