I plan to retrieve an rss file (xml format) with url http://alerts.weather.gov/cap/ma.php?x=0 from a web site periodically with a scheduled task. I have a php script to do that. When I access the url in IE9 it shows the RSS. When I load it with curl in the php script the request times out. In fact when I ping the host weather.gov the request times out. What about my settings could prevent access to that host from the cmd.exe window? In other words is there something that I should do to be able to ping that host from cmd.exe?
|
| |||||||||
feedback
|
|
Try testing connectivity to the server manually: > telnet alerts.weather.gov 80[enter] [SCREEN TURNS BLANK] GET /cap/ma.php?x=0 HTTP/1.0[enter][enter] That should produce your output. If it doesn't, you have a connectivity problem and are probably using a proxy server in ie9. If it does work, something else is wrong. | |||
|
feedback
|