Reputation: 13
Im trying to access a web service from a remote computer. I managed to access the web service from the browser. But Im getting HTTP 403 when I try to call the web service from the application.
Any idea why?
Upvotes: 1
Views: 31027
Reputation: 1
I had the same issue where the browser could access an url and my simple java call got a 403 error. I got it working by adding http header information to the request. I copied what the browser send.
Upvotes: 0
Reputation: 903
A 403 response indicates that the host or software you're connecting with isn't allowed to access the web service. Reasons for this might be:
Upvotes: 7
Reputation: 3036
The Web server thinks that the HTTP data stream sent by the client was correct, but access to the resource identified by the URL is forbidden for some reason.Check the firewall settings.This should help you :-)
Upvotes: 0