# Mail test -- Cannot assign requested address - connect(2)

**URL:** <https://meta.discourse.org/t/mail-test-cannot-assign-requested-address-connect-2/143658>\
**Category:** Self-hosting\
**Created:** [8 במרץ,‏ 2020,‏ 7:58pm UTC](https://meta.discourse.org/t/mail-test-cannot-assign-requested-address-connect-2/143658 "2020-03-08T19:58:22Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Igami](https://avatars.discourse-cdn.com/v4/letter/i/c6cbf5/32.png) [@Igami](https://meta.discourse.org/u/Igami)\
**Post date:** [8 במרץ,‏ 2020,‏ 7:58pm UTC](https://meta.discourse.org/t/mail-test-cannot-assign-requested-address-connect-2/143658/1 "2020-03-08T19:58:22Z")

</div>

Hi Folks,

discourse-doctor tells me to post this error:

> DISCOURSE DOCTOR Sun Mar 8 20:18:13 CET 2020  
> OS: Linux discourse-mksp 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86\_64 x86\_64 x86\_64 GNU/Linux
> 
> Found containers/app.yml
> 
> ==================== YML SETTINGS ====================  
> DISCOURSE\_HOSTNAME=REDACTED  
> SMTP\_ADDRESS=REDACTED  
> DEVELOPER\_EMAILS=REDACTED  
> SMTP\_PASSWORD=REDACTED  
> SMTP\_PORT=587  
> SMTP\_USER\_NAME=REDACTED  
> LETSENCRYPT\_ACCOUNT\_EMAIL=REDACTED
> 
> ==================== DOCKER INFO ====================  
> DOCKER VERSION: Docker version 18.09.7, build 2d0083d
> 
> DOCKER PROCESSES (docker ps -a)
> 
> CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES  
> d82aefafb601 local\_discourse/app “/sbin/boot” 24 minutes ago Up 21 minutes 0.0.0.0:80-\>80/tcp, 0.0.0.0:443-\>443/tcp app
> 
> Discourse container app is running
> 
> ==================== PLUGINS ====================  
> - git clone discourse/docker\_manager.git  
> - git clone discourse/discourse-checklist.git  
> - git clone paviliondev/discourse-events.git
> 
> WARNING:  
> You have what appear to be non-official plugins.  
> If you are having trouble, you should disable them and try rebuilding again.
> 
> See discourse/discourse/blob/master/lib/plugin/metadata.rb for the official list.
> 
> ========================================  
> Discourse version at localhost: Discourse 2.5.0.beta2
> 
> ==================== MEMORY INFORMATION ====================  
> OS: Linux  
> RAM (MB): 2040
> 
> ```
> total used free shared buff/cache available
> 
> ```
> 
> Mem: 1992 1276 132 36 584 498  
> Swap: 3069 19 3050
> 
> ==================== DISK SPACE CHECK ====================  
> ---------- OS Disk Space ----------  
> Filesystem Size Used Avail Use% Mounted on  
> /dev/vda1 29G 18G 10G 64% /
> 
> ---------- Container Disk Space ----------  
> Filesystem Size Used Avail Use% Mounted on  
> overlay 29G 18G 10G 64% /  
> /dev/vda1 29G 18G 10G 64% /shared  
> /dev/vda1 29G 18G 10G 64% /var/log
> 
> ==================== DISK INFORMATION ====================  
> Disk /dev/vda: 30 GiB, 32212254720 bytes, 62914560 sectors  
> Units: sectors of 1 \* 512 = 512 bytes  
> Sector size (logical/physical): 512 bytes / 512 bytes  
> I/O size (minimum/optimal): 512 bytes / 512 bytes  
> Disklabel type: dos  
> Disk identifier: 0x69116d01
> 
> Device Boot Start End Sectors Size Id Type  
> /dev/vda1 \* 2048 60819071 60817024 29G 83 Linux  
> /dev/vda2 60819072 62912129 2093058 1022M 5 Extended  
> /dev/vda5 60819074 62912129 2093056 1022M 82 Linux swap / Solaris
> 
> ==================== END DISK INFORMATION ====================
> 
> ==================== MAIL TEST ====================  
> For a robust test, get an address from mail-tester  
> Sending mail to REDACTED . .  
> Testing sending to \<recipient\> using \<user\>:\<password\>@mail.4830.org:587.  
> ======================================== ERROR ========================================  
> UNEXPECTED ERROR
> 
> Cannot assign requested address - connect(2) for “[mail.4830.org](http://mail.4830.org)” port 587
> 
> ====================================== SOLUTION =======================================  
> This is not a common error. No recommended solution exists!
> 
> # Please report the exact error message above to meta discourse (And a solution, if you find one!)
> 
> ==================== DONE! ====================

---

_[View the full topic](https://meta.discourse.org/t/mail-test-cannot-assign-requested-address-connect-2/143658)._
