Could not open socket
-
I have spun up an Ubuntu server in Google’s cloud computing platform. I setup Apache to run two of my domains as virtual hosts. Both domains use Postman. On the first domain, Postman works as expected without issue. On the second domain, I get a “Could not open socket” error when trying to send emails.
In the Apache error log for the virtual host in question, I sometimes get these errors:
ERROR PostmanWpMailBinder: wp_mail is already bound, Postman can not use it, referer: https://www.novatechnologygroup.com/wp-admin/plugins.php?plugin_status=all&paged=1&s
But usually it simply says:
ERROR PostmanWpMail: Exception code=0 message=Could not open socket, referer: https://www.novatechnologygroup.com/wp-admin/options-general.php?page=postman%2Femail_test
I have included the diagnostic test from both sites.
It doesn’t work here
OS: Linux instance-1 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36 Platform: PHP Linux 5.5.9-1ubuntu4.11 / WordPress 4.2.4 en_US PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No WordPress Theme: Twenty Fourteen WordPress Plugins: Postman SMTP, Revolution Slider, WP Construction Mode Pro Postman Version: 1.6.23 Postman Sender Domain (Envelope|Message): teamntg.com|teamntg.com Postman Prevent Message Sender Override (Email|Name): Yes|Yes Postman Transport URI: smtp:none:plain://mail.teamntg.com:26 Postman Transport Status (Configured|Ready|Connected): Yes|Yes|No Postman Deliveries (Success|Fail): 0|9 Postman Bind (Success|Fail|Path): Yes|No|/var/www/novatechnologygroup.com/public_html/wp-content/plugins/postman-smtp/Postman/PostmanWpMailBinder.php Postman TCP Timeout (Connection|Read): 10|60 Postman Email Log (Enabled|Limit|Transcript Size): Yes|10|128 Postman Run Mode: production Postman PHP LogLevel: 40000 Postman Stealth Mode: No Postman File Locking (Enabled|Temp Dir): Yes|/tmp
It Works Here
OS: Linux instance-1 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36 Platform: PHP Linux 5.5.9-1ubuntu4.11 / WordPress 4.2.3 en_US PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No WordPress Theme: X WordPress Plugins: Cornerstone, Postman SMTP, Revolution Slider Postman Version: 1.6.23 Postman Sender Domain (Envelope|Message): zachmalmgren.com|zachmalmgren.com Postman Prevent Message Sender Override (Email|Name): Yes|Yes Postman Transport URI: smtp:none:plain://mail.zachmalmgren.com:26 Postman Transport Status (Configured|Ready|Connected): Yes|Yes|Yes Postman Deliveries (Success|Fail): 2|0 Postman Bind (Success|Fail|Path): Yes|No|/var/www/zachmalmgren.com/public_html/wp-content/plugins/postman-smtp/Postman/PostmanWpMailBinder.php Postman TCP Timeout (Connection|Read): 10|60 Postman Email Log (Enabled|Limit|Transcript Size): Yes|10|128 Postman Run Mode: production Postman PHP LogLevel: 40000 Postman Stealth Mode: No Postman File Locking (Enabled|Temp Dir): Yes|/tmp
- The topic ‘Could not open socket’ is closed to new replies.