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?
Asked
Active
Viewed 161 times
0

user823527
- 107
- 2
-
Disable the proxy? Open the firewall for HTTP not only for the proxy? Give more information about your networks setup?! – mailq Aug 31 '11 at 16:50
-
@mailq The firewall is already open for HTTP. The setup is just a verizon wireless router and a Windows Vista Business edition with IE9. – user823527 Aug 31 '11 at 18:53
-
Try requesting the page with wget.exe in your command prompt. It shows errors and such and should help diagnose the problem. – DougN Aug 31 '11 at 21:05
-
@DougN wget.exe has old dlls. Is there a different alternative to request the url? – user823527 Sep 01 '11 at 18:09
1 Answers
0
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.

Steve Dispensa
- 261
- 1
- 4