25 for insecure traffic and 465 for secure traffic.
You can use an ngrok TCP endpoint to connect to a local mail server with the following command.
TCP endpoints are only available on a free plan after adding a valid payment method to your account.