Quote:
Originally Posted by Reuti
Can you access the external website with the server machine itself, to rule out that the problem is on your side at all.
|
Yes. I check the network in the server.
1、 I can ping the oursite web server.
PING any-fp.wa1.b.yahoo.com (67.195.160.76) 56(84) bytes of data.
64 bytes from ir1.fp.vip.ac4.yahoo.com (67.195.160.76): icmp_req=1 ttl=50 time=256 ms
2、 I write a python script to access the web then print the page, it works.
import urllib2
url="http://www.google.com.hk"
response = urllib2.urlopen('http://python.org/')
html = response.read()
print html