Curl: (7) couldn't connect to host
I was able to solve it by adding the below line to /etc/hosts
`server private ip` localhost localhost.localdomain
I was able to solve it by adding the below line to /etc/hosts
`server private ip` localhost localhost.localdomain