# eM Client for macos Tahoe unable to connect to locally hosted email server 

**URL:** <https://forum.emclient.com/t/em-client-for-macos-tahoe-unable-to-connect-to-locally-hosted-email-server/119818>\
**Category:** Uncategorized\
**Created:** [October 19, 2026, 8:07am UTC](https://forum.emclient.com/t/em-client-for-macos-tahoe-unable-to-connect-to-locally-hosted-email-server/119818 "2026-10-19T08:07:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![0xfedec](https://forum.emclient.com/letter_avatar_proxy/v4/letter/0/d6d6ee/32.png) [@0xfedec](https://forum.emclient.com/u/0xfedec)\
**Post date:** [October 19, 2026, 8:07am UTC](https://forum.emclient.com/t/em-client-for-macos-tahoe-unable-to-connect-to-locally-hosted-email-server/119818/1 "2026-10-19T08:07:14Z")

</div>

eM Client 11.0.1201 (c416881)  
macOS Tahoe 26.7.1

Letting everyone know that, if you have problems connecting to a locally-hosted IMAP server on your own private subnet, you should have a look at [TN3179: Understanding local network privacy | Apple Developer Documentation](https://developer.apple.com/documentation/technotes/tn3179-understanding-local-network-privacy)

eM Client was unable to connect to my private mail server with the below trace in the log, even if all other network tools / openssl s\_client / nc were connecting fine from the same macOS client / same user.

Running the ```  
defaults write com.apple.network.local-network

```auto
commands and restarting my TCP stack (and eM Client) fixed the issue.

   >>> ConnectionPoolEntry.CloseNowAsync(): Failed to connect: MailClient.Accounts.ConnectionException: Failed opening connection to server.
    ---> System.Net.Sockets.SocketException (65): No route to host
      at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
      at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
      at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
   --- End of stack trace from previous location ---
      at System.Net.Sockets.TcpClient.CompleteConnectAsync(Task task)
      at MailClient.Imap.Base.Connection.CreateTcpClientAsync(String hostname, Int32 port, TimeSpan timeout, CancellationToken cancellationToken)
      at MailClient.Imap.Base.Connection.<>c __DisplayClass88_0.<<ConnectAsync>b__ 0>d.MoveNext()
   --- End of stack trace from previous location ---
      at MailClient.Imap.Base.TransportPipe.<>c __DisplayClass32_0.<<UpgradeStreamAsync>b__ 0>d.MoveNext()
   --- End of stack trace from previous location ---
      at MailClient.Imap.Base.TransportPipe.UpgradeStreamAsync(Func`2 callback)
      at MailClient.Imap.Base.Connection.ConnectAsync(Func`2 getStream, CancellationToken cancellationToken)
      at MailClient.Imap.Base.Connection.ConnectAsync(Func`2 getStream, CancellationToken cancellationToken)
      at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken)
      Exception_EndOfInnerExceptionStack
      at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken)
```
