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 · 1964 次点击
    这是一个创建于 2591 天前的主题,其中的信息可能已经有所发展或是发生改变。
    测试了几个 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   ·   我们的愿景   ·   实用小工具   ·   5488 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 03:28 · PVG 11:28 · LAX 20:28 · JFK 23:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.