Title: Could not open socket
Last modified: November 14, 2019

---

# Could not open socket

 *  Resolved [Cyrille Sanson](https://wordpress.org/support/users/css31/)
 * (@css31)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/could-not-open-socket-17/)
 * Hi,
 * For several days it’s no longer possible to send mail from my site WordPress.
 * The Post SMTP test says: Could not open socket
 * Do you have an idea of what can cause this type of response?
 * Regards

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [shinerweb](https://wordpress.org/support/users/shinerweb/)
 * (@shinerweb)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/could-not-open-socket-17/#post-12132113)
 * Hi Cyrille,
    If your site was previously working but has suddenly stopped working,
   then it can only be one of two things. Either your mail server is blocking access
   to your account, or your web server is blocking access to the SMTP port on your
   mail server.
 * The “could not open socket” means POST SMTP cannot talk to your mail server.
   
   It could also be that your mail server is closing the connection, in which case
   you should see something in the transcription logs.
 * Have you run the diagnostic/connectivity test?
    Post the diagnostic results here.
 * From the guide at: [https://wordpress.org/plugins/post-smtp/#other_notes](https://wordpress.org/plugins/post-smtp/#other_notes)
 * COULD NOT OPEN SOCKET
    - Your host may have installed a firewall between you and the server. Ask them
      to open the ports.
 *  - Your may have tried to (incorrectly) use SSL over port 587. Check your encryption
      and port settings.
 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/could-not-open-socket-17/#post-12136730)
 * Some of the hosting control panels are getting an update and after that, the 
   security settings are going to default (blocking).
 * Contact your hosting support.
 *  Thread Starter [Cyrille Sanson](https://wordpress.org/support/users/css31/)
 * (@css31)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/could-not-open-socket-17/#post-12137510)
 * Hi,
 * I’ve already contacted the support. I was asking in order to get an entry on 
   this support about “could not open socket”.
 * I’ve tested with an other plugin and it’s the same problem.
 * There is a big chance that the issue is coming from my host OVH.
 * Thanks for your answers,
    -  This reply was modified 6 years, 9 months ago by [Cyrille Sanson](https://wordpress.org/support/users/css31/).
 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/could-not-open-socket-17/#post-12142024)
 * Great, thank you for the update!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Could not open socket’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

## Tags

 * [SMTP not working](https://wordpress.org/support/topic-tag/smtp-not-working/)

 * 4 replies
 * 3 participants
 * Last reply from: [yehudah](https://wordpress.org/support/users/yehudah/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/could-not-open-socket-17/#post-12142024)
 * Status: resolved