[root@sandbox-hdp knox-server]# curl 127.0.0.1
curl: (7) couldn't connect to host
[root@sandbox-hdp knox-server]# curl google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
The document has moved
How to resolve curl localhost for hdp or is it intentionally kept it that way.? ping is working for localhost and private ip addresses but curl is not working for localhost and private ip addresses in the hdp host-vm network.