Why do I get "Error while connecting: couldn’t connect to host"?

If you're receiving this error when using ShortPixel Image Optimizer on your website then the problem is most likely related to your DNS resolver.

Usually the solution is to contact your hosting provider letting them know that http(s)://api.shortpixel.com won't resolve to its IP address and they should be able to help you.

Still need help? Contact Us Contact Us