cUrl Error 7 during wo_remote_post
-
Hello. Well, i have an issue, I’m using a custom plugin that retrieve data from a Contact Form 7 submission. THese data are being post to a api server of mine using wp_remote_post function. The endpoint contains a port number eg 7003. During developing, all tests on a localhost environment were successful. The body of the request is in json format, the header contains json format. On my live site the request doesn’t not post. As the response returns cUrl Error 7 Connection Refused, without giving me anything else like error code or error message. I checked all configurations on my server for firewall blocks or wrong port forward settings but everything is okey (moreover using postman or typing url endpoint on a browser everything looks fine). I contact my host provider to ask him if there is any firewall and he told me that there is no firewall for these types of requests on my site. Does any one having any idea. I’m too close to finish it and I can’t php 7.4.30 WordPress 5.9.3 (the last one supported by my theme)
- The topic ‘cUrl Error 7 during wo_remote_post’ is closed to new replies.