On Thu, 25 May 2000, Prasit P wrote:

> By the way, i can access "http://209.10.98.1/index.html" using internet
> browser, but not the perl socket.

because the browser doesn't include http://x.x.x.x in the http request,
unless you are configured to use an http proxy.

> > > > > print $remote "GET http://209.10.98.1/index.html HTTP/1.0\n\n";

change that to "GET /index.html HTTP/1.0\n\n", which is the same as your
browser would send.


Reply via email to