Advertisement:

Author Topic: some tips or manual for mailgun? SMTP: 111 : Connection refused  (Read 7607 times)

Offline nfmovil

  • Semi-Newbie
  • *
  • Posts: 40
Hi, i don´t know how to use it.
I create an account in mailgun and always I get error SMTP: 111 : Connection refused
In Hosting dns are modified.





« Last Edit: May 03, 2016, 12:19:01 AM by nfmovil »

Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #1 on: May 03, 2016, 01:53:35 AM »
That's a "cant connect to server" error. Where the SMTP username box is, shouldn't it be something different than postmaster@domain.com?

Offline Jailer

  • Jr. Member
  • **
  • Posts: 142
  • Gender: Male
    • Bored Guy Blog
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #2 on: May 05, 2016, 08:40:28 PM »
Try port 587

Offline nfmovil

  • Semi-Newbie
  • *
  • Posts: 40
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #3 on: May 05, 2016, 09:09:45 PM »
Try port 587

No fue posible conectarse al servidor SMTP: 111 : Connection refused

foros/index.php?action=emailuser;sa=email
2: fsockopen(): unable to connect to smtp.mailgun.org:587 (Connection refused)
/public_html/foros/Sources/Subs-Post.php
Linea : 1365

Code: [Select]
1364: // Try to connect to the SMTP server... if it doesn't exist, only wait three seconds.
==>1365: if (!$socket = fsockopen($modSettings['smtp_host'], empty($modSettings['smtp_port']) ? 25 : $modSettings['smtp_port'], $errno, $errstr, 3))
1366:

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,167
  • Gender: Male
    • i30 Owners Club
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #4 on: May 06, 2016, 03:26:43 AM »
Try setting "SMTP Hostname" to

Code: [Select]
ssl://smtp.mailgun.org

Offline nfmovil

  • Semi-Newbie
  • *
  • Posts: 40
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #5 on: May 06, 2016, 12:15:04 PM »
Try setting "SMTP Hostname" to

Code: [Select]
ssl://smtp.mailgun.org

fsockopen(): unable to connect to ssl://smtp.mailgun.org:587 (Connection refused)

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,167
  • Gender: Male
    • i30 Owners Club
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #6 on: May 06, 2016, 01:07:14 PM »
Try that again with port 465

Offline nfmovil

  • Semi-Newbie
  • *
  • Posts: 40
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #7 on: May 06, 2016, 01:11:21 PM »
fsockopen(): unable to connect to ssl://smtp.mailgun.org:465 (Connection refused)

 :-\

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,167
  • Gender: Male
    • i30 Owners Club
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #8 on: May 06, 2016, 01:17:59 PM »
Can you check if you have OpenSSL installed? Running a php_info should tell us.


http://wiki.simplemachines.org/smf/What_is_a_phpinfo()_file

Offline nfmovil

  • Semi-Newbie
  • *
  • Posts: 40
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #9 on: May 06, 2016, 01:20:54 PM »

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,167
  • Gender: Male
    • i30 Owners Club
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #10 on: May 06, 2016, 01:24:38 PM »
Ok, last suggestion from me for a while, remove the ssl:// and try port 2525

https://help.mailgun.com/hc/en-us/articles/203380100-Where-can-I-find-my-API-key-and-SMTP-credentials-

Offline nfmovil

  • Semi-Newbie
  • *
  • Posts: 40
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #11 on: May 06, 2016, 01:45:21 PM »
fsockopen(): unable to connect to smtp.mailgun.org:2525 (Connection refused)

http://www.simplemachines.org/community/index.php?topic=452364.0

I will change to banahosting , no more goddady

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #12 on: May 06, 2016, 05:42:09 PM »
Code: [Select]
tls://smtp.mailgun.orgmaybe?

Yeah we had several issues with Godaddy not allowing any SMTP connections. Maybe you ask them?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline nfmovil

  • Semi-Newbie
  • *
  • Posts: 40
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #13 on: May 06, 2016, 08:58:41 PM »
of course, like 15 times? 20 times? i'm tired of this guys... now I am moving all to new server. thank you all anyway.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,167
  • Gender: Male
    • i30 Owners Club
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #14 on: May 07, 2016, 04:17:34 AM »
Sorry we couldn't get this sorted.

Have you considered using googlemail/gmail as your smtp provider? Works a treat.

Offline nfmovil

  • Semi-Newbie
  • *
  • Posts: 40
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #15 on: May 07, 2016, 04:19:56 AM »
yes, but i can´t find a guide how to install.  :(

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,167
  • Gender: Male
    • i30 Owners Club
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #16 on: May 07, 2016, 04:58:13 AM »
1- Create yourself a (free) gmail account

2- Make a minor code change as follows:

http://www.simplemachines.org/community/index.php?topic=544856.msg3870010#msg3870010


3- Configure your mail as follows:


Offline nfmovil

  • Semi-Newbie
  • *
  • Posts: 40
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #17 on: May 07, 2016, 05:18:08 AM »
: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused)

problem is godaddy

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,167
  • Gender: Male
    • i30 Owners Club
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #18 on: May 07, 2016, 05:19:17 AM »
Ahh, ok then. Was worth a try.

Good luck with your better new host :)

Offline nfmovil

  • Semi-Newbie
  • *
  • Posts: 40
Re: some tips or manual for mailgun? SMTP: 111 : Connection refused
« Reply #19 on: May 07, 2016, 05:21:07 AM »
yes, thank you pal