yon 发表于 2010-6-3 05:59:24

wo Winsock Error 10065

我服务器连接了PPTP VPN模式,接收邮件可以,但是发送就发不出去.



Thu 2010-06-03 04:50:52: *From: *
Thu 2010-06-03 04:50:52: *To: *
Thu 2010-06-03 04:50:52: *Subject: : can't login
Thu 2010-06-03 04:50:52: *Size (bytes): 15242
Thu 2010-06-03 04:50:52: *Message-ID: <WC20100602204548.620002@*>
Thu 2010-06-03 04:50:52: Attempting SMTP connection to
Thu 2010-06-03 04:50:52: Resolving MX records for (DNS Server: 66.165.162.24)...
Thu 2010-06-03 04:50:52: *P=001 S=000 D=he.net TTL=(1056) MX= {216.218.186.2}
Thu 2010-06-03 04:50:52: Attempting SMTP connection to
Thu 2010-06-03 04:50:52: Waiting for socket connection...
Thu 2010-06-03 04:51:13: *Winsock Error 10065 The host is unreachable.Are you connected to the network?
Thu 2010-06-03 04:51:13: *216.218.186.2 added to connection failure cache for 5 minutes
Thu 2010-06-03 04:51:13: Attempting to send message to smart host
Thu 2010-06-03 04:51:13: Attempting SMTP connection to
Thu 2010-06-03 04:51:13: Resolving A record for (DNS Server: 66.165.162.24)...
Thu 2010-06-03 04:51:14: *D=gmail-smtp-msa.l.google.com TTL=(0) A=
Thu 2010-06-03 04:51:14: Attempting SMTP connection to
Thu 2010-06-03 04:51:14: Waiting for socket connection...
Thu 2010-06-03 04:51:35: *Winsock Error 10065 The host is unreachable.Are you connected to the network?
Thu 2010-06-03 04:51:35: *74.125.67.109 added to connection failure cache for 5 minutes
Thu 2010-06-03 04:51:35: This message is 5 minutes old; it has 5 minutes left in this queue
Thu 2010-06-03 04:51:35: SMTP session terminated (Bytes in/out: 0/0)

我搜索了下,可能是连接PPTP后,还需要设置路由,指定从从哪个网卡或者接口出去.
但是不知道怎么设置. 哪位大大给帮帮...

WSAEHOSTUNREACH (10065) No Route to Host

A socket operation was attempted to an unreachable host.

TCP/IP scenario: In BSD-compatible implementations, the local network system generates this error if there isn't a default route configured. Typically, though, Winsock generates WSAENETUNREACH when it receives a 'host unreachable' ICMP message from a router instead of WSAEHOSTUNREACH. The ICMP message means that the router can't forward the IP datagram, possibly because it didn't get a response to the ARP request (which might mean the destination host is down).
页: [1]
查看完整版本: wo Winsock Error 10065