Closed mteam88 closed 2 years ago
Hi @mteam88 , this is intentional, we block known outbound SMTP ports as a security precaution.
You may want to consider using something like this when developing an app that uses SMTP within Gitpod: https://github.com/ReachFive/fake-smtp-server https://hub.docker.com/r/reachfive/fake-smtp-server
Another option would be for you to route SMTP traffic through a Tailscale network, and either host a SMTP server of your own (also on the Tailscale), or exit the traffic to another SMTP server (not on the Tailscale). Although I think either approach will be harder than using a mock/fake SMTP server.
Thanks! I really appreciate the work. I do have a further problem though: ANY ping command is failing. No connections are working.
Please re-open.
You may want to consider using something like this when developing an app that uses SMTP within Gitpod: https://github.com/ReachFive/fake-smtp-server https://hub.docker.com/r/reachfive/fake-smtp-server
Another option would be for you to route SMTP traffic through a Tailscale network, and either host a SMTP server of your own (also on the Tailscale), or exit the traffic to another SMTP server (not on the Tailscale). Although I think either approach will be harder than using a mock/fake SMTP server.
Hey @kylos101, should we get these documented on gitpod.io/docs ?
Hi @mteam88 ,
I left #8979 open to track the issue you identified with ping (ICMP).
If you are trying to test connectivity to other TCP ports (like 80 or 443 for a web server), you can use netcat
or even telnet
. To recap, ping (ICMP) will not work, but I've left that issue open so we can determine why it is not functional.
Bug description
I am using nodemailer to send emails but there seems to be a firewall error. Is this known?
I have an error when trying to use the example from nodemailer.
I modified it a little bit but it has all of the same core. When I try to run it I get this error:
I have searched and I can't find any answers about this. I am using gmail smtp now. It seems that it is a firewall issue because running
nc smtp.gmail.com 587
hangs with no output, and corresponding telnet and openssl commands have the same response. Gitpod may need to modify the firewall or alert when the firewall catches something if this is actually a firewall problem.The function that is actually run is this:
Steps to reproduce
I am not sure about this... You may try the code I used.