cURL / Mailing Lists / curl-users / Single Mail


RE: IP address rejected problem

From: Roth, Kevin P. <>
Date: Tue, 20 Jul 2004 11:02:34 -0400

The error message seems straight-forward; it appears that the web server
is blocking all HTTP requests from your IP address.

I tried accessing the page, and I don't see that error message when I
try it, so it would appear that my address is not blocked.

What happens when you try accessing that site using a normal (GUI) web

If you can't see it using a GUI browser either, then my first guess
would be that they're use some kind of intrusion detection system which
has blocked traffic from your IP address; perhaps because they've
detected "unusual" activity of some kind coming from your network?

On the other hand, if it works fine from your GUI browser, I'd guess
you're actually seeing a response from some kind of firewall or proxy
server within your own network. In that case, you should find out if
your GUI browser uses a proxy server, and then try to have curl use that
same proxy server. In the simplest case, you'd simply add -x (--proxy)
to the command line, along with the DNS name (or IP address) and port
(unless it uses the default of 8080) for your proxy server. For example:

  curl -s -d ... -x your.proxy.server:PORTNUM http://...

- Kevin

-----Original Message-----
From: Sagar Saibi
Sent: Tuesday, July 20, 2004 10:22 AM

When i am tyring the below command

  curl -s -d cnum=A0100010

I am getting this error

  HTTP Error 403
  403.6 Forbidden: IP address rejected
  This error is caused when the server has a list of IP addresses that
are not
  allowed to access the site, and the IP address you are using is in
this list.
  Please contact the Web server's administrator if the problem persists.
Received on 2004-07-20