cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

curl error: couldn't connect to host

Hi,

 My sms gateway give me an api call in http get. First, I have to provide my server ip address to be whitelisted in their system and so I give them the IP address of the server. The problem is when I make http get call, connection has been rejected. So far, I've been looking for what is the root cause of the problem.  Support team from sms gateway said to run dig command but dig command is not install in the system and my hosting is in shared hosting plan. They think the IP address that is provided is not right.

This is my curl call from ssh username, password, ssh name has been erase for security.

my.JPG

 

2 REPLIES 2
Helper V
Helper V

Re: curl error: couldn't connect to host

@zawphyo,

 

Did you call GoDaddy support team?, They can resolve this...

https://toolbox.googleapps.com/apps/dig

 

Thank you

 

Regards,

 

Praveen Thomas

GoDaddy 24/7 Support www.x.co/247support
----->NEXIA

Re: curl error: couldn't connect to host

Not yet, I though my problem can be explain better in community using image and code. I will contact them. Thz!