Swift_TransportException: Connection could not be established

russianx

Member
Messages
42
Reaction score
3
Points
8
Ran in to this error. What could it be?

[2021-12-14 23:27:05] flarum.ERROR: Swift_TransportException: Connection could not be established with host mail.madway.net :stream_socket_client(): unable to connect to mail.madway.net:25 (Network is unreachable) in /home/russian7/domains/madway.net/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:261
 

Anna

I am just me
Staff member
Messages
11,739
Reaction score
579
Points
113
In general free hosting does not allow external SMTP hosts being used in scripts, it is very possible that the server treats this as being one although it is on the same server due to how connection are made through the script.

I'm not familiar with the script in question so I can not say if there are any other options available to you in settings.
 

russianx

Member
Messages
42
Reaction score
3
Points
8
Im using one from this hosting. It worked before just fine. here is the settings I have


D4kmwgF

I used port 25 before, now it changed. I tryd them both (587 i think).
 

spacresx

Community Advocate
Community Support
Messages
2,183
Reaction score
195
Points
63
it might help if you provide the scripts name that you are using.
(that require those settings) or you could try a different script.
 

russianx

Member
Messages
42
Reaction score
3
Points
8
No help on this? Since you disabled SMTP(which is lame, I set up website already) How do I set it up without hosting mail?
 
Top