Skip to main content

Using ngrok with SMTP Mail Servers

The common port for the SMTP protocol used by most mail servers is 25 for insecure traffic and 465 for secure traffic. You can use an ngrok TCP tunnel to connect to a local mail server with the following command.

ngrok tcp 25
warning

TCP endpoints are only available on a free plan after adding a valid payment method to your account.