V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
luanc
V2EX  ›  云计算

Google Cloud 装 WP 的 SMTP 插件提示 Network is unreachable 怎么破?

  •  
  •   luanc · 2017-03-16 01:27:14 +08:00 · 2132 次点击
    这是一个创建于 2809 天前的主题,其中的信息可能已经有所发展或是发生改变。
    测试了几个 SMTP 插件都提示 Network is unreachable ,网站能正常访问,也能 ping 。

    ifconfig eth0
    eth0 Link encap:Ethernet HWaddr 42:01:0a:8c:00:02
    inet addr:10.140.0.2 Bcast:10.140.0.2 Mask:255.255.255.255
    UP BROADCAST RUNNING MULTICAST MTU:1460 Metric:1
    RX packets:4282 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3423 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1110693 (1.0 MiB) TX bytes:2990663 (2.8 MiB)


    Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
    Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to smtp.gmail.com:587 (Network is unreachable)
    SMTP ERROR: Failed to connect to server: Network is unreachable (101)
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    cnwtex
        1
    cnwtex  
       2017-03-16 06:29:07 +08:00 via iPhone   ❤️ 1
    Google cloud 禁用了 25 端口的外访
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2019 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 00:30 · PVG 08:30 · LAX 16:30 · JFK 19:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.