문제

I am trying to connect to a smtp server of gmail using

telnet gmail.smtp.com 587

It gets connnected when I try it from home. But, it shows an error when I try it from my office. What can be the problem?

Here is the error I get connecting to smtp.gmail.com:

Could not open connection to the host, on port 587: Connect Failed
도움이 되었습니까?

해결책

Since you are able to connect at home, your office is probably blocking the port using a firewall. To be sure though, you could try on another network.

다른 팁

Your hostname should be - smtp.gmail.com You wrote - gmail.smtp.com

Please change the name

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top